1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-09-10 13:54:52 +00:00
6502bench/SourceGen/WpfGui
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
..
AboutBox.xaml Disable "prefer 32 bit" build flag 2024-05-09 10:03:08 -07:00
AboutBox.xaml.cs Disable "prefer 32 bit" build flag 2024-05-09 10:03:08 -07:00
CodeListItemStyle.xaml Change highlight region 2021-11-17 11:40:36 -08:00
DataFileLoadIssue.xaml Minor fixes 2019-09-21 18:49:03 -07:00
DataFileLoadIssue.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DiscardChanges.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
DiscardChanges.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditAddress.xaml Address region isolation, part 1 2024-05-20 14:50:18 -07:00
EditAddress.xaml.cs Address region isolation, part 1 2024-05-20 14:50:18 -07:00
EditAppSettings.xaml Binary includes 2024-05-31 14:22:39 -07:00
EditAppSettings.xaml.cs Binary includes 2024-05-31 14:22:39 -07:00
EditBitmapAnimation.xaml Fix proportions for animated GIFs 2019-12-25 10:28:40 -08:00
EditBitmapAnimation.xaml.cs Progress toward wireframe animations 2020-03-07 17:05:08 -08:00
EditComment.xaml Minor UI tweaks 2019-09-18 18:11:48 -07:00
EditComment.xaml.cs Tweak comment entry UI 2021-11-03 20:23:27 -07:00
EditDataBank.xaml Data Bank Register management, part 5 2020-07-10 13:29:36 -07:00
EditDataBank.xaml.cs ORG rework, part 1 2021-09-16 17:02:19 -07:00
EditDataOperand.xaml Binary includes 2024-05-31 14:22:39 -07:00
EditDataOperand.xaml.cs Binary includes 2024-05-31 14:22:39 -07:00
EditDefSymbol.xaml Fix some address region issues 2021-10-17 18:02:29 -07:00
EditDefSymbol.xaml.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
EditInstructionOperand.xaml Minor tweak to instruction operand editor 2021-10-16 14:46:13 -07:00
EditInstructionOperand.xaml.cs Binary includes 2024-05-31 14:22:39 -07:00
EditLabel.xaml ORG rework, part 7 2021-10-02 15:43:41 -07:00
EditLabel.xaml.cs ORG rework, part 7 2021-10-02 15:43:41 -07:00
EditLocalVariableTable.xaml Add Ctrl+Enter as a way to close the LVTable edit dialog 2020-08-27 17:09:18 -07:00
EditLocalVariableTable.xaml.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
EditLongComment.xaml Tweak line folding code 2019-11-01 19:47:56 -07:00
EditLongComment.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditLvTableLocation.xaml Add a "move table" button 2019-09-01 16:40:54 -07:00
EditLvTableLocation.xaml.cs More progress on visualization 2019-11-26 18:54:42 -08:00
EditNote.xaml Allow custom colors in Notes 2020-03-13 13:58:52 -07:00
EditNote.xaml.cs Allow custom colors in Notes 2020-03-13 13:58:52 -07:00
EditProjectProperties.xaml Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
EditProjectProperties.xaml.cs More tweaks to def sym editing 2022-03-02 08:13:46 -08:00
EditStatusFlags.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditStatusFlags.xaml.cs Set owner of status flags edit window 2021-06-03 17:16:07 -07:00
EditVisualization.xaml Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
EditVisualization.xaml.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
EditVisualizationSet.xaml Implement wireframe animation 2020-03-09 13:56:20 -07:00
EditVisualizationSet.xaml.cs Implement wireframe animation 2020-03-09 13:56:20 -07:00
Export.xaml Add visualization sets to exported HTML 2019-12-13 17:15:38 -08:00
Export.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
ExportVisualization.xaml Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
ExportVisualization.xaml.cs Update visualization bitmap API 2022-01-12 11:48:20 -08:00
FindBox.xaml Add "find previous" 2019-10-09 17:47:07 -07:00
FindBox.xaml.cs Add "find previous" 2019-10-09 17:47:07 -07:00
FontPicker.xaml Allow arbitrary code list font sizes 2024-04-19 14:46:17 -07:00
FontPicker.xaml.cs Allow arbitrary code list font sizes 2024-04-19 14:46:17 -07:00
FormatAddressTable.xaml Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
FormatAddressTable.xaml.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
GenerateLabels.xaml First cut at label file generation 2024-04-20 16:37:08 -07:00
GenerateLabels.xaml.cs Add option to put labels on separate lines 2024-04-21 16:26:42 -07:00
GotoBox.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
GotoBox.xaml.cs Fix "goto address" for overlapping segments 2021-07-30 14:40:17 -07:00
MainWindow.xaml First cut at label file generation 2024-04-20 16:37:08 -07:00
MainWindow.xaml.cs First cut at label file generation 2024-04-20 16:37:08 -07:00
NewProject.xaml Remove "Atari Arcade Cabinet" system definition 2020-07-01 11:06:23 -07:00
NewProject.xaml.cs Fix startup issues 2019-07-20 17:36:12 -07:00
ProjectLoadIssues.xaml Fix visibility binding 2019-10-27 10:38:29 -07:00
ProjectLoadIssues.xaml.cs Open damaged projects in read-only mode 2019-10-26 13:20:54 -07:00
ShowWireframeAnimation.xaml Implement wireframe animation 2020-03-09 13:56:20 -07:00
ShowWireframeAnimation.xaml.cs Add Atari AVG visualizer 2020-04-11 17:24:21 -07:00