1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-29 10:50:28 +00:00
6502bench/SourceGen/SGTestData/Expected
Andy McFadden 4981c3cdbb Fix ACME code gen "overflow"
ACME has a "real" PC and a "pseudo" PC.  The "real" PC determines the
initial position in a 64KB buffer used to hold assembler output.  If
the amount of code generated runs off the end, the assembler fails
with "produced too much code".

The source code generator in SourceGen was outputting a "real" PC
for the first address range and "psuedo" PCs for any address ranges
that followed.  This produced nice results for code with a single
range, but caused problems for multi-range sources if the initial
range was high in memory and a later range was lower in memory.
While the assembler isn't actually generating more than 64KB of code,
ACME's buffer management was detecting an overflow.

Now, if a source file has multiple address ranges, we set the "real"
PC to $0000 and use a "pseudo" PC for all ranges.  Output for projects
with a single address range is unmodified.
2020-05-14 16:37:33 -07:00
..
1000-allops-value-65816_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1000-allops-value-65816_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1000-allops-value-65816_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
1000-allops-value-65816_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1000-allops-value-65816_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1001-allops-zero-65816_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1001-allops-zero-65816_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1001-allops-zero-65816_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
1001-allops-zero-65816_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1001-allops-zero-65816_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1002-embedded-instructions_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1002-embedded-instructions_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1002-embedded-instructions_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
1002-embedded-instructions_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1002-embedded-instructions_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
1003-flags-and-branches_64tass.S Fix AND/ORA imm flag updater 2020-05-01 17:29:22 -07:00
1003-flags-and-branches_acme.S Fix AND/ORA imm flag updater 2020-05-01 17:29:22 -07:00
1003-flags-and-branches_cc65.cfg Fix AND/ORA imm flag updater 2020-05-01 17:29:22 -07:00
1003-flags-and-branches_cc65.S Fix AND/ORA imm flag updater 2020-05-01 17:29:22 -07:00
1003-flags-and-branches_Merlin32.S Fix AND/ORA imm flag updater 2020-05-01 17:29:22 -07:00
1004-data-recognition_64tass.S Change the way ASCII is handled for 64tass 2019-08-20 11:21:30 -07:00
1004-data-recognition_acme.S Finish ACME v0.96.4 support 2019-08-04 14:48:42 -07:00
1004-data-recognition_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
1004-data-recognition_cc65.S Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
1004-data-recognition_Merlin32.S Tweak Merlin DS output 2020-01-01 17:45:32 -08:00
2000-allops-value-6502_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2000-allops-value-6502_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2000-allops-value-6502_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2000-allops-value-6502_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2000-allops-value-6502_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2001-allops-zero-6502_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2001-allops-zero-6502_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2001-allops-zero-6502_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2001-allops-zero-6502_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2001-allops-zero-6502_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2002-allops-value-65C02_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2002-allops-value-65C02_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2002-allops-value-65C02_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2002-allops-value-65C02_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2002-allops-value-65C02_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2003-allops-zero-65C02_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2003-allops-zero-65C02_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2003-allops-zero-65C02_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2003-allops-zero-65C02_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2003-allops-zero-65C02_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2004-numeric-types_64tass.S Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
2004-numeric-types_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2004-numeric-types_cc65.cfg Add regression test for data analysis bug 2019-12-30 14:09:18 -08:00
2004-numeric-types_cc65.S Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
2004-numeric-types_Merlin32.S Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
2005-string-types_64tass.S Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
2005-string-types_acme.S Improve ACME high ASCII handling 2019-08-17 17:35:01 -07:00
2005-string-types_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2005-string-types_cc65.S Update expected output for test 2005-string-types 2019-08-09 16:41:05 -07:00
2005-string-types_Merlin32.S Update expected output for test 2005-string-types 2019-08-09 16:41:05 -07:00
2006-operand-formats_64tass.S Work around Merlin assembler bug 2020-03-18 17:45:06 -07:00
2006-operand-formats_acme.S Work around Merlin assembler bug 2020-03-18 17:45:06 -07:00
2006-operand-formats_cc65.cfg Work around Merlin assembler bug 2020-03-18 17:45:06 -07:00
2006-operand-formats_cc65.S Work around Merlin assembler bug 2020-03-18 17:45:06 -07:00
2006-operand-formats_Merlin32.S Work around Merlin assembler bug 2020-03-18 17:45:06 -07:00
2007-labels-and-symbols_64tass.S Rename project/platform symbols that clash with opcode mnemonics 2020-01-17 18:29:20 -08:00
2007-labels-and-symbols_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2007-labels-and-symbols_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2007-labels-and-symbols_cc65.S Rename project/platform symbols that clash with opcode mnemonics 2020-01-17 18:29:20 -08:00
2007-labels-and-symbols_Merlin32.S Rename project/platform symbols that clash with opcode mnemonics 2020-01-17 18:29:20 -08:00
2008-address-changes_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2008-address-changes_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2008-address-changes_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2008-address-changes_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2008-address-changes_Merlin32.S Tweak Merlin DS output 2020-01-01 17:45:32 -08:00
2009-branches-and-banks_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2009-branches-and-banks_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2009-branches-and-banks_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2009-branches-and-banks_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2009-branches-and-banks_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2010-target-adjustment_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2010-target-adjustment_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2010-target-adjustment_cc65.cfg Tweak "nearby" label finder 2019-10-29 18:12:22 -07:00
2010-target-adjustment_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2010-target-adjustment_Merlin32.S Tweak Merlin DS output 2020-01-01 17:45:32 -08:00
2011-hinting_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2011-hinting_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2011-hinting_cc65.cfg Fix handling of data formatting that overlaps with code 2019-09-14 11:44:17 -07:00
2011-hinting_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2011-hinting_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2012-label-localizer_64tass.S Label rework, part 5 2019-11-17 16:05:51 -08:00
2012-label-localizer_acme.S Label rework, part 5 2019-11-17 16:05:51 -08:00
2012-label-localizer_cc65.cfg Remap labels that use opcode mnemonics 2019-09-20 15:29:34 -07:00
2012-label-localizer_cc65.S Label rework, part 5 2019-11-17 16:05:51 -08:00
2012-label-localizer_Merlin32.S Remap labels that use opcode mnemonics 2019-09-20 15:29:34 -07:00
2013-notes-and-comments_64tass.S Tweak line folding code 2019-11-01 19:47:56 -07:00
2013-notes-and-comments_acme.S Tweak line folding code 2019-11-01 19:47:56 -07:00
2013-notes-and-comments_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2013-notes-and-comments_cc65.S Tweak line folding code 2019-11-01 19:47:56 -07:00
2013-notes-and-comments_Merlin32.S Tweak line folding code 2019-11-01 19:47:56 -07:00
2014-label-dp_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2014-label-dp_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2014-label-dp_cc65.cfg Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
2014-label-dp_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2014-label-dp_Merlin32.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2015-64k-nops_64tass.S Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
2015-64k-nops_acme.S Add 2015-64k-nops test 2019-08-04 16:54:01 -07:00
2015-64k-nops_cc65.cfg Add 2015-64k-nops test 2019-08-04 16:54:01 -07:00
2015-64k-nops_cc65.S Add 2015-64k-nops test 2019-08-04 16:54:01 -07:00
2015-64k-nops_Merlin32.S Add 2015-64k-nops test 2019-08-04 16:54:01 -07:00
2016-char-encoding-a_64tass.S Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
2016-char-encoding-a_acme.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2016-char-encoding-a_cc65.cfg Add 2016-char-encoding-a and variations 2019-08-16 15:01:11 -07:00
2016-char-encoding-a_cc65.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2016-char-encoding-a_Merlin32.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2017-char-encoding-p_64tass.S Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
2017-char-encoding-p_acme.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2017-char-encoding-p_cc65.cfg Add 2016-char-encoding-a and variations 2019-08-16 15:01:11 -07:00
2017-char-encoding-p_cc65.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2017-char-encoding-p_Merlin32.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2018-char-encoding-s_64tass.S Improve multi-encoding output in 64tass 2019-08-21 13:46:05 -07:00
2018-char-encoding-s_acme.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2018-char-encoding-s_cc65.cfg Add 2016-char-encoding-a and variations 2019-08-16 15:01:11 -07:00
2018-char-encoding-s_cc65.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2018-char-encoding-s_Merlin32.S PETSCII does DCI 2019-08-20 17:55:12 -07:00
2019-local-variables_64tass.S Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
2019-local-variables_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2019-local-variables_cc65.cfg Work around two assembler issues 2019-09-20 14:05:17 -07:00
2019-local-variables_cc65.S Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
2019-local-variables_Merlin32.S Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
2020-cycle-counts-65816_64tass.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2020-cycle-counts-65816_acme.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2020-cycle-counts-65816_cc65.cfg Rename regression test 2020 to reflect the CPU configuration 2019-09-15 17:02:21 -07:00
2020-cycle-counts-65816_cc65.S Finish removal of "disable label localizer" feature 2019-11-16 17:15:03 -08:00
2020-cycle-counts-65816_Merlin32.S Tweak Merlin DS output 2020-01-01 17:45:32 -08:00
2021-external-symbols_64tass.S Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
2021-external-symbols_acme.S Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
2021-external-symbols_cc65.cfg Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
2021-external-symbols_cc65.S Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
2021-external-symbols_Merlin32.S Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
2022-extension-scripts_64tass.S Fix bug in inline JSR/JSL no-continue handling 2020-05-08 17:41:26 -07:00
2022-extension-scripts_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2022-extension-scripts_cc65.cfg Fix bug in inline JSR/JSL no-continue handling 2020-05-08 17:41:26 -07:00
2022-extension-scripts_cc65.S Fix bug in inline JSR/JSL no-continue handling 2020-05-08 17:41:26 -07:00
2022-extension-scripts_Merlin32.S Fix bug in inline JSR/JSL no-continue handling 2020-05-08 17:41:26 -07:00
2023-non-unique-labels_64tass.S Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
2023-non-unique-labels_acme.S Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
2023-non-unique-labels_cc65.cfg Label rework, part 6 2019-11-18 13:36:53 -08:00
2023-non-unique-labels_cc65.S Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
2023-non-unique-labels_Merlin32.S Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
2024-ui-edge-cases_64tass.S Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
2024-ui-edge-cases_acme.S Fix ACME code gen "overflow" 2020-05-14 16:37:33 -07:00
2024-ui-edge-cases_cc65.cfg Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
2024-ui-edge-cases_cc65.S Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00
2024-ui-edge-cases_Merlin32.S Correct handling of no-op .ORG statements 2020-02-28 14:49:18 -08:00