1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-06-12 08:29:29 +00:00
6502bench/SourceGen/SGTestData/Source
Andy McFadden 4e5c34f457 Binary includes
This adds a new data format option, "binary include", that takes a
filename operand.  When assembly sources are generated, the section
of file is replaced with an appropriate pseudo-op, and binary files
are generated that hold the file contents.  This is a convenient way
to remove large binary blobs, such as music or sound samples, that
aren't useful to have in text form in the sources.

Partial pathnames are allowed, so you can output a sound blob to
"sounds/blather.bin".  For safety reasons, we don't allow the files
to be created above the project directory, and existing files will
only be overwritten if they have a matching length (so you don't
accidentally stomp on your project file).

The files are not currently shown in the GenAsm dialog, which lets
you see a preview of the generated sources.  The hex dump tool
can do this for the (presumably rare) situations where it's useful.

A new regression test, 20300-binary-include, has been added.  The
pseudo-op name can be overridden on-screen in the settings.

We don't currently do anything new for text/HTML exports.  It might
be useful to generate an optional appendix with a hex dump of the
excised sections.

(issue #144)
2024-05-31 14:22:39 -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 Add "uninitialized data" format type 2021-10-13 15:05:07 -07:00
20010-string-types.S Fix DCI string edge case 2021-08-10 14:08:39 -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 Fix 64tass code gen corner case 2021-08-09 14:11:15 -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 Fix DCI string edge case 2021-08-10 14:08:39 -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
20250-nested-regions.S Implement IsRelative for cc65/merlin32 2021-10-09 10:08:14 -07:00
20252-nested-regions.S ORG rework, part 7 2021-10-02 15:43:41 -07:00
20260-pre-labels.S ORG rework, part 9 2021-10-07 12:39:30 -07:00
20270-std-inline.S Ignore project/platform symbols in StdInline 2021-10-27 20:23:34 -07:00
20280-label-placement.S Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
20290-region-isolation.S Address region isolation, part 3 (of 3) 2024-05-21 14:14:32 -07:00
20300-binary-include.S Binary includes 2024-05-31 14:22:39 -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