1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-10-09 07:54:42 +00:00
6502bench/SourceGen/WpfGui
Andy McFadden dfd5bcab1b Optionally treat BRKs as two-byte instructions
Early data sheets listed BRK as one byte, but RTI after a BRK skips
the following byte, effectively making BRK a 2-byte instruction.
Sometimes, such as when diassembling Apple /// SOS code, it's handy
to treat it that way explicitly.

This change makes two-byte BRKs optional, controlled by a checkbox
in the project settings.  In the system definitions it defaults to
true for Apple ///, false for all others.

ACME doesn't allow BRK to have an arg, and cc65 only allows it for
65816 code (?), so it's emitted as a hex blob for those assemblers.
Anyone wishing to target those assemblers should stick to 1-byte mode.

Extension scripts have to switch between formatting one byte of
inline data and formatting an instruction with a one-byte operand.
A helper function has been added to the plugin Util class.

To get some regression test coverage, 2022-extension-scripts has
been configured to use two-byte BRK.

Also, added/corrected some SOS constants.

See also issue #44.
2019-10-09 14:55:56 -07:00
..
AboutBox.xaml Various doc fixes 2019-07-29 13:20:03 -07:00
AboutBox.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
CodeListItemStyle.xaml Fully style the code list view 2019-10-09 11:50:33 -07: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 Minor fixes 2019-07-21 15:24:39 -07:00
EditAddress.xaml.cs Minor fixes 2019-07-21 15:24:39 -07:00
EditAppSettings.xaml Make "long labels on new line" configurable in export dialog 2019-09-18 11:14:20 -07:00
EditAppSettings.xaml.cs Implement text export 2019-09-12 13:57:52 -07:00
EditComment.xaml Minor UI tweaks 2019-09-18 18:11:48 -07:00
EditComment.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditDataOperand.xaml Minor fixes 2019-09-27 13:43:58 -07:00
EditDataOperand.xaml.cs Fix assert failure in data operand editor 2019-09-18 11:35:45 -07:00
EditDefSymbol.xaml Allow explicit widths in project/platform symbols, part 1 2019-10-01 16:00:08 -07:00
EditDefSymbol.xaml.cs Allow explicit widths in project/platform symbols, part 1 2019-10-01 16:00:08 -07:00
EditInstructionOperand.xaml Fix HTML output 2019-09-17 19:13:28 -07:00
EditInstructionOperand.xaml.cs Allow explicit widths in project/platform symbols, part 1 2019-10-01 16:00:08 -07:00
EditLabel.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditLabel.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditLocalVariableTable.xaml Allow explicit widths in project/platform symbols, part 2 2019-10-01 19:11:54 -07:00
EditLocalVariableTable.xaml.cs Allow explicit widths in project/platform symbols, part 2 2019-10-01 19:11:54 -07:00
EditLongComment.xaml Minor tweaks 2019-09-26 13:00:14 -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 Add a "move table" button 2019-09-01 16:40:54 -07:00
EditNote.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditNote.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditProjectProperties.xaml Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
EditProjectProperties.xaml.cs Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
EditStatusFlags.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
EditStatusFlags.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Export.xaml Make "long labels on new line" configurable in export dialog 2019-09-18 11:14:20 -07:00
Export.xaml.cs Make "long labels on new line" configurable in export dialog 2019-09-18 11:14:20 -07:00
FindBox.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FindBox.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FontPicker.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FontPicker.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FormatAddressTable.xaml Rename FormatSplitAddress to FormatAddressTable 2019-09-15 13:37:38 -07:00
FormatAddressTable.xaml.cs Rename FormatSplitAddress to FormatAddressTable 2019-09-15 13:37:38 -07:00
GotoBox.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
GotoBox.xaml.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
MainWindow.xaml Fully style the code list view 2019-10-09 11:50:33 -07:00
MainWindow.xaml.cs Fully style the code list view 2019-10-09 11:50:33 -07:00
NewProject.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
NewProject.xaml.cs Fix startup issues 2019-07-20 17:36:12 -07:00
ProjectLoadIssues.xaml Minor fixes 2019-09-21 18:49:03 -07:00
ProjectLoadIssues.xaml.cs Make the "continue" button actually do something 2019-08-02 16:00:58 -07:00