1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-13 14:29:23 +00:00
6502bench/SourceGen/RuntimeData/Help
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
..
advanced.html Add issues & limitations for scripts to manual 2019-10-07 17:56:35 -07:00
analysis.html Expand the set of things SetInlineDataFormat accepts 2019-10-05 19:51:34 -07:00
codegen.html Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
editors.html Allow explicit widths in project/platform symbols, part 4 (of 4) 2019-10-03 10:32:54 -07:00
end-notes.html Clean up HTML in manual 2018-10-09 10:04:10 -07:00
index.html Minor fixes 2019-09-27 13:43:58 -07:00
intro.html Allow explicit widths in project/platform symbols, part 4 (of 4) 2019-10-03 10:32:54 -07:00
main.css Initial file commit 2018-09-28 10:05:11 -07:00
mainwin.html Fix errors in manual 2019-10-03 10:53:56 -07:00
settings.html Add separate button for adding symbols+scripts from project 2019-10-09 13:24:09 -07:00
tools.html Update documentation 2019-08-18 17:16:44 -07:00
tutorials.html Minor fixes 2019-09-27 13:43:58 -07:00