1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-02 13:51:36 +00:00
6502bench/SourceGen/AsmGen
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
..
WpfGui Binary includes 2024-05-31 14:22:39 -07:00
AsmAcme.cs Binary includes 2024-05-31 14:22:39 -07:00
AsmCc65.cs Binary includes 2024-05-31 14:22:39 -07:00
AsmMerlin32.cs Binary includes 2024-05-31 14:22:39 -07:00
AsmTass64.cs Binary includes 2024-05-31 14:22:39 -07:00
AssemblerConfig.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
AssemblerInfo.cs First pass at ACME support 2019-08-03 20:54:07 -07:00
AssemblerVersion.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
BinaryInclude.cs Binary includes 2024-05-31 14:22:39 -07:00
GenCommon.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
IAssembler.cs Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
IGenerator.cs Binary includes 2024-05-31 14:22:39 -07:00
LabelLocalizer.cs Don't use "not" as a label in ACME output 2021-10-18 13:04:10 -07:00