head 1.4; access; symbols pkgsrc-2024Q3:1.3.0.22 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.20 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.18 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.16 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.14 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.12 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.10 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.8 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.6 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.4 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.2 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.2.0.74 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.72 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.70 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.68 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.66 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.64 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.60 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.40 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.62 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.58 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.56 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.54 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.52 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.50 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.48 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.46 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.44 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.42 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.38 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.36 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.34 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.32 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.30 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.28 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.26 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.24 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.22 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.20 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.18 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.16 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.14 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.12 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.10 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.8 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.4 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.1.1.0.84 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.82 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.80 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.78 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.76 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.74 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.72 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.70 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.68 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.66 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.64 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.62 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.60 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.58 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.56 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.54 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.52 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.50 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.48 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.46 pkgsrc-2008Q1:1.1.1.1.0.44 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.42 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.40 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.38 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.36 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.34 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.32 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.30 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.28 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.26 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-2005Q3:1.1.1.1.0.24 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.22 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.20 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.18 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.16 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.14 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.12 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2024.10.07.16.35.59; author rhialto; state dead; branches; next 1.3; commitid T0DzexO1WJdvxKsF; 1.3 date 2022.03.19.16.53.28; author rhialto; state Exp; branches; next 1.2; commitid XcZzCzyFD7cBzQwD; 1.2 date 2012.12.12.10.12.16; author wiz; state Exp; branches; next 1.1; 1.1 date 2001.10.29.18.30.30; author dillo; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.10.29.18.30.30; author dillo; state Exp; branches; next ; desc @@ 1.4 log @devel/acme: update to r425 Not a formal release. from the commit messages, newest first: added regression test for previous fix fixed bug introduced in rev 419 (see ticket #25, thanks for reporting!) now ignores BOM at start of source file fixed bug where "!skip" areas at start/end were included in output file fixed bug where a segment warning could cause another segment warning to disappear throwing of some errors can now be delayed until symbol changes are done small fix so "label" and "label=*" throw the same error if pc undefined fixed bug in anonymous backward labels added code so release 0.98 will always use the smallest possible addressing mode added dec() and hex() functions added missing sanity check added code to tell "symbol already defined" (in this pass) and "symbol changed" (compared to previous pass) apart, which I need for version 0.98 "symbol twice" error now outputs location of previous definition, just as "macro twice" does. finally removed the 64 KiB limit, the outbuffer size is now determined at runtime. I added a hard limit of 64 MiB, but that value is completely arbitrary. writing to output buffer now only happens in final pass added "output pass", to ease adding of new features. I had to modify two regression tests because they barfed in the second pass, but real-world code would not do this, so I'm okay with this incompatibility. fixed bug in "file too large for apple format" message changed experimental feature "dynamic symbol names" to "dynamic " in report file: macros are expanded, everything in loops is suppressed fixed bug where "--dialect future" with file refs in macros could cause crashes added REC pinout info to library in addition to "-DSYMBOL=VALUE", now "-D SYMBOL=VALUE" is also accepted added ugly kluge to fix ugly limitation in RISC OS version tweaked pathname parsing for Amiga, DOS and RISC OS next version's filespecs will be relative to current file for output files as well. added check for absolute paths so current dir is not used as prefix search paths (given via -I) are now also displayed in error messages. also prepared filespecs to be relative to current file in next version. Un-pseudopc-operator '&' can now be applied to all address symbols, not only to implicitly defined labels. fixed a bug in "unpseudopc" operator "&" and did some cleanup added another choice for "--dialect" fixed bug where labels could be used before pc definition, added test files. fixed two bugs, added test files, did cleanup bug 1: in some cases "--format" could not override "!to" bug 2: "cannot open output file" resulted in "success" exit code added "!outfilestart" and "!outfilelimit". made "--from-to" to use end+1 instead of end. added "--from-to" (and did some internal cleanup) added "--strict" and "!nowarn" added --debuglevel cli switch and !debug/!info pseudo opcodes @ text @$NetBSD: patch-ab,v 1.3 2022/03/19 16:53:28 rhialto Exp $ - Use the default library location --- src/_std.c.orig 2016-12-28 20:32:00.000000000 +0000 +++ src/_std.c @@@@ -12,7 +12,7 @@@@ // variables -char *AnyOS_lib_prefix = NULL; // header string of library tree +char *AnyOS_lib_prefix = DEFAULT_ACME_LIB; // header string of library tree // used as PLATFORM_INIT: reads "ACME" environment variable @ 1.3 log @devel/acme: update ancient version to 0.97 plus recent commits Changes in the installed share/doc/acme/Changes.txt file but no dates are mentioned. There are now more assembly library files. Original MASTER_SITE no longer available, so rely on a SourceForge snapshot file. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2012/12/12 10:12:16 wiz Exp $ @ 1.2 log @Update to 0.91, provided by Dennis Lindroos in PR 44771. ---------------------------------------------------------------------- Section: New in release 0.91 ---------------------------------------------------------------------- Added anonymous labels (- + -- ++ --- +++ etc.). Every other assembler seems to support them, so I added them to ACME as well... :) New POs: "!warn MESSAGE", "!error MESSAGE", "!serious MESSAGE" New CLI option: "--maxdepth NUMBER" sets maximum recursion depth for macro calls and the "!source" pseudo opcode. ACME now gives a warning when assembling JMP($xxff) on 6502/6510 because that instruction is broken on those CPUs. After giving the error "Target out of range", the error "Number out of range" is now suppressed. Corrected code example in QuickRef.txt (why didn't anyone tell me? :)) Added additional example source code. ---------------------------------------------------------------------- Section: New in release 0.90 ---------------------------------------------------------------------- Arithmetic shift right now has some watchdog code and should work regardless of compiler. Corrected some typos in error messages and docs. New CLI option: "--cpu CPU_TYPE" The output file format chosen with "--format FORMAT" is now used as default when "!to" is used without format keyword. Again: Tidier code. ---------------------------------------------------------------------- Section: New in release 0.89 ---------------------------------------------------------------------- Support for more undocumented ("illegal") opcodes: anc, arr, asr, sbx, dop, top, jam. See Illegals.txt for more info. Change in shift operators: Logical shift right (">>" or "LSR") has on most platforms actually been an arithmetic shift right all the time! Therefore, ">>" now *officially* performs an arithmetic shift right (can also be written as "ASR"), while ">>>" has been added to perform a logical shift right (can also be written as "LSR"). Note: This is about ACME's maths parser and has nothing to do with the 6502 mnemonics "asl" and "lsr". Finally added a "-o" command line option to set the output file! See QuickRef.txt for info on the other new CLI options (--format, --labeldump, --maxerrors, --setpc, --initmem, --version). Fixed bug: "!align" could be used while program counter undefined. Fixed bug: Numbers before mnemonics are no longer skipped (or rather, implicit label definitions are no longer accepted if the label name starts with a digit). Change: Much better algorithm to compute to-the-power-of (read: it's no longer braindead). Some more internal tidying. ---------------------------------------------------------------------- Section: New in release 0.88 ---------------------------------------------------------------------- Fixed architecture-dependent bug introduced in release 0.87. Fixed bug: Unknown !cpu keywords could cause crashes. Fixed bug in !ct "filename" nesting. ---------------------------------------------------------------------- Section: New in release 0.87 ---------------------------------------------------------------------- Support for some undocumented ("illegal") opcodes: slo, rla, sre, rra, sax, lax, dcp, isc. To use these, choose the 6510 cpu. Two error messages gone: "Sorry, feature not yet implemented." and "Chosen CPU does not support this command and/or addressing mode." Explanation of new error message ("There's more than one character.") added to docs. ---------------------------------------------------------------------- Section: New in release 0.86 ---------------------------------------------------------------------- The "!convtab" pseudo opcode can now be given the file name of a conversion table. The file must hold exactly 256 bytes. Improved docs a bit (more and better examples, more info on verbosity CLI switch). If no "!to" pseudo opcode has been found, ACME will tell you so. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 2 --- src/_std.c.orig 2006-03-26 20:37:02.000000000 +0300 +++ src/_std.c 2011-03-17 10:27:51.000000000 +0200 d10 1 a10 1 // Variables d15 1 a15 1 // Functions @ 1.1 log @Initial revision @ text @d3 3 a5 10 --- platform/std.c.orig Thu Mar 22 15:17:38 2001 +++ platform/std.c @@@@ -27,7 +27,7 @@@@ psLibPath = (char *) ALLOC_PROCESS(c + 1); strcpy(psLibPath, pPathname); } else { - psLibPath = NULL; + psLibPath = DEFAULT_ACME_LIB "/"; } } d7 7 @ 1.1.1.1 log @Initial import of acme 0.85, a cross assembler for 6052 and compatibles. @ text @@