1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-08-14 03:29:00 +00:00
6502bench/SourceGen
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
..
AsmGen Binary includes 2024-05-31 14:22:39 -07:00
Examples Fix bit rot in sample 2021-11-14 09:21:15 -08:00
Properties Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Res Add daily tips to start screen 2021-10-16 09:15:28 -07:00
RuntimeData Additional C64 .sym65 support files (#157) 2024-04-11 18:00:02 -07:00
Sandbox Add offset to PlSymbol 2021-10-23 21:35:30 -07:00
SGTestData Binary includes 2024-05-31 14:22:39 -07:00
Tests Binary includes 2024-05-31 14:22:39 -07:00
Tools Address region isolation, part 1 2024-05-20 14:50:18 -07:00
WpfGui Binary includes 2024-05-31 14:22:39 -07:00
Anattrib.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
App.config Fix startup issues 2019-07-20 17:36:12 -07:00
App.xaml Improve visualization 2019-12-04 15:59:37 -08:00
App.xaml.cs Version 1.9.0-dev1 2024-05-23 10:27:45 -07:00
AppSettings.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
AutoLabel.cs Label rework, part 1 2019-11-08 21:02:15 -08:00
ChangeSet.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
CodeAnalysis.cs Binary includes 2024-05-31 14:22:39 -07:00
DailyTips.cs Correct StdInline behavior for overlapping addresses 2021-10-27 16:48:25 -07:00
DataAnalysis.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
DefSymbol.cs Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
DisasmProject.cs Binary includes 2024-05-31 14:22:39 -07:00
DisplayList.cs Add operand highlighting 2021-11-17 11:18:23 -08:00
DisplayListSelection.cs Add C64 encodings to instruction and data operand editors 2019-08-15 17:53:12 -07:00
Exporter.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
ExternalFile.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FormatDescriptor.cs Binary includes 2024-05-31 14:22:39 -07:00
FormattedOperandCache.cs Add a string operand cache 2019-08-17 17:03:06 -07:00
HelpAccess.cs Add warning to manual when viewed from web 2021-10-08 11:01:03 -07:00
LabelFileGenerator.cs Tweak label file generation 2024-04-30 13:27:07 -07:00
LineListGen.cs Address region isolation, part 2 2024-05-21 10:32:18 -07:00
LocalVariableLookup.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
LocalVariableTable.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
MainController.cs Binary includes 2024-05-31 14:22:39 -07:00
MessageList.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
MultiLineComment.cs Tweak line folding code 2019-11-01 19:47:56 -07:00
NavStack.cs ORG rework, part 9 2021-10-07 12:39:30 -07:00
PlatformSymbols.cs Allow leading whitespace in .sym65 comments 2021-10-24 14:12:45 -07:00
ProjectFile.cs Binary includes 2024-05-31 14:22:39 -07:00
ProjectProperties.cs Default "smart PLP handling" to off 2020-07-24 21:38:45 -07:00
PseudoOp.cs Binary includes 2024-05-31 14:22:39 -07:00
RenderAddressMap.cs Address region isolation, part 1 2024-05-20 14:50:18 -07:00
RuntimeDataAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Sgec.cs SGEC tweaks 2020-07-16 10:14:28 -07:00
SourceGen.csproj Binary includes 2024-05-31 14:22:39 -07:00
Symbol.cs Tweak label file generation 2024-04-30 13:27:07 -07:00
SymbolTable.cs Address region isolation, part 3 (of 3) 2024-05-21 14:14:32 -07:00
SystemDefaults.cs Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
SystemDefs.cs Progress toward OMF file handling 2020-06-30 08:20:12 -07:00
UndoableChange.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
VisBitmapAnimation.cs Progress toward wireframe animations 2020-03-08 17:05:08 -07:00
Visualization.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
VisualizationSet.cs Add a progress bar to HTML export 2020-03-15 14:07:05 -07:00
VisWireframeAnimation.cs Add Atari AVG visualizer 2020-04-11 17:24:21 -07:00
WeakSymbolRef.cs Binary includes 2024-05-31 14:22:39 -07:00
WireframeObject.cs Add Atari DVG visualizer 2021-11-02 08:54:07 -07:00
XrefSet.cs Minor tweaks 2024-05-22 14:02:53 -07:00