1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-14 05:28:55 +00:00
6502bench/SourceGen/SGTestData/Source
Andy McFadden 8db554c1cd Fix 64tass output for non-loadable files
64tass wants to place its output into a 64KB region of memory,
starting at the address "*" is set to, and continuing without
wrapping around the end of the bank.  Some files aren't meant to be
handled that way, so we need to generate the output differently.

If the file's output fits nicely, it's considered "loadable", and
is generated in the usual way.  If it doesn't, it's treated as
"streamable", and the initial "* = addr" directive is omitted
(leaving "*" at zero), and we go straight to ".logical" directives.

65816 code with an initial address outside bank 0 is treated as
"streamable" whether or not the contents fit nicely in the designated
64K area.  This caused a minor change to a few of the 65816 tests.

A new test, 20240-large-overlay, exercises "streamable" by creating
a file with eight overlapping 8KB segments that load at $8000.
While the file as a whole fits in 64KB, it wouldn't if loaded at
the desired start address.

Also, updated the regression test harness to report assembler
failure independently of overall test failure.  This makes it easier
to confirm that (say) ACME v0.96.4 still works with the code we
generate, even though it doesn't match the expected output (which
was generated for v0.97).

(problem was raised in issue #98)
2021-08-01 17:21:20 -07:00
..
10000-allops-value-6502.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10001-allops-value-65C02.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10002-allops-value-65816.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10003-allops-value-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10010-allops-zero-6502.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10011-allops-zero-65C02.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10012-allops-zero-65816.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
10013-allops-zero-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
10020-embedded-instructions.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10022-embedded-instructions.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10030-flags-and-branches.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10032-flags-and-branches.S Refactor tests 1002x and 1003x 2020-10-18 20:30:42 -07:00
10040-data-recognition.S Rename test 10042 2020-10-18 09:16:50 -07:00
20000-numeric-types.S Regression test rework, part 1 2020-06-06 14:47:19 -07:00
20010-string-types.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20020-operand-formats.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20022-operand-formats.S Split 2002x-operand-formats test 2020-06-08 17:47:26 -07:00
20030-labels-and-symbols.S Regression test rework, part 3 2020-06-06 17:06:31 -07:00
20032-labels-and-symbols.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20040-address-changes.S Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
20042-address-changes.S Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
20050-branches-and-banks.cfg Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20050-branches-and-banks.S Regression test rework, part 4 2020-06-06 17:30:50 -07:00
20052-branches-and-banks.cfg Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20052-branches-and-banks.S Add a line to 20052-branches-and-banks 2021-07-31 13:51:35 -07:00
20060-target-adjustment.S Refactor 2006x-target-adjustment 2020-10-19 15:46:05 -07:00
20062-target-adjustment.S Refactor 2006x-target-adjustment 2020-10-19 15:46:05 -07:00
20070-hinting.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20081-label-localizer.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20090-notes-and-comments.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20100-label-dp.S Add 20100-label-dp test 2020-10-19 16:02:28 -07:00
20102-label-dp.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20120-char-encoding.S Tweak backslash escaping 2021-07-31 20:22:21 -07:00
20122-char-encoding.S Rework 201XX-char-encoding-X tests 2020-10-19 15:01:02 -07:00
20150-local-variables.S Clone 20152-local-variables 2020-10-19 17:14:56 -07:00
20152-local-variables.S Expand 20152-local-variables test 2021-07-20 11:28:26 -07:00
20162-cycle-counts-65816.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20170-external-symbols.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20172-external-symbols.S Minor fix for 24-bit MULTI_MASK 2020-11-03 11:47:53 -08:00
20182-extension-scripts.S Mark flags as indeterminate for inline BRK 2020-08-22 08:56:38 -07:00
20190-non-unique-labels.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20200-ui-edge-cases.S Regression test rework, part 2 2020-06-06 15:36:08 -07:00
20212-reloc-data-bank2.S Update relocation data handling 2020-07-10 17:41:38 -07:00
20212-reloc-data-bank8.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20212-reloc-data-filler.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20212-reloc-data-lnk.S Add two options to OMF converter 2020-07-20 13:50:49 -07:00
20212-reloc-data-main.S Update relocation data handling 2020-07-10 17:41:38 -07:00
20212-reloc-data-relover.S Add 20212-reloc-data test 2020-07-05 17:17:44 -07:00
20222-data-bank.S Data Bank Register management, part 6 (of 6) 2020-07-10 15:53:43 -07:00
20233-rockwell.S Add W65C02S support, part 4 (of 4) 2020-10-11 18:43:00 -07:00
20240-large-overlay.S Fix 64tass output for non-loadable files 2021-08-01 17:21:20 -07:00
allops-common-65C02.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-6502.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-65816.S Initial file commit 2018-09-28 10:05:11 -07:00
allops-common-W65C02.S Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00