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
..
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-08 13:02:01 -07:00
2019-08-08 13:02:01 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-08 13:02:01 -07:00
2019-08-08 13:02:01 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-02 17:21:50 -07:00
2019-08-02 17:21:50 -07:00
2019-09-17 14:38:16 -07:00
2019-09-17 14:38:16 -07:00
2019-09-17 14:38:16 -07:00
2019-09-17 14:38:16 -07:00
2019-09-17 14:38:16 -07:00
2019-08-20 11:21:30 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2018-11-18 15:11:29 -08:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-02 17:21:50 -07:00
2019-08-02 17:21:50 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-02 17:21:50 -07:00
2019-08-02 17:21:50 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-02 17:21:50 -07:00
2019-08-02 17:21:50 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-02 17:21:50 -07:00
2019-08-02 17:21:50 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2018-11-18 15:11:29 -08:00
2019-08-21 13:46:05 -07:00
2019-08-17 17:35:01 -07:00
2018-11-18 15:11:29 -08:00
2019-08-09 16:41:05 -07:00
2019-08-09 16:41:05 -07:00
2019-08-21 13:46:05 -07:00
2019-08-14 17:31:15 -07:00
2019-08-14 17:31:15 -07:00
2019-08-14 17:31:15 -07:00
2019-08-14 17:31:15 -07:00
2019-08-20 11:21:30 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-08 13:02:01 -07:00
2019-08-08 13:02:01 -07:00
2019-10-02 16:50:15 -07:00
2019-10-02 16:50:15 -07:00
2018-11-18 15:11:29 -08:00
2019-10-02 16:50:15 -07:00
2019-10-02 16:50:15 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2018-11-18 15:11:29 -08:00
2019-08-20 11:21:30 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2018-11-18 15:11:29 -08:00
2019-09-14 11:44:17 -07:00
2019-09-14 11:44:17 -07:00
2019-09-14 11:44:17 -07:00
2019-09-14 11:44:17 -07:00
2019-09-14 11:44:17 -07:00
2019-09-20 15:29:34 -07:00
2019-09-20 15:29:34 -07:00
2019-09-20 15:29:34 -07:00
2019-09-20 15:29:34 -07:00
2019-09-20 15:29:34 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2018-11-18 15:11:29 -08:00
2019-08-21 13:46:05 -07:00
2019-08-04 14:48:42 -07:00
2018-11-18 15:11:29 -08:00
2019-08-08 13:02:01 -07:00
2019-08-08 13:02:01 -07:00
2019-08-21 13:46:05 -07:00
2019-08-04 16:54:01 -07:00
2019-08-04 16:54:01 -07:00
2019-08-04 16:54:01 -07:00
2019-08-04 16:54:01 -07:00
2019-08-21 13:46:05 -07:00
2019-08-20 17:55:12 -07:00
2019-08-16 15:01:11 -07:00
2019-08-20 17:55:12 -07:00
2019-08-20 17:55:12 -07:00
2019-08-21 13:46:05 -07:00
2019-08-20 17:55:12 -07:00
2019-08-16 15:01:11 -07:00
2019-08-20 17:55:12 -07:00
2019-08-20 17:55:12 -07:00
2019-08-21 13:46:05 -07:00
2019-08-20 17:55:12 -07:00
2019-08-16 15:01:11 -07:00
2019-08-20 17:55:12 -07:00
2019-08-20 17:55:12 -07:00
2019-09-20 14:05:17 -07:00
2019-09-20 14:05:17 -07:00
2019-09-20 14:05:17 -07:00
2019-09-20 14:05:17 -07:00
2019-09-20 14:05:17 -07:00
2019-09-15 17:13:29 -07:00
2019-09-15 17:13:29 -07:00
2019-09-15 17:02:21 -07:00
2019-09-15 17:13:29 -07:00
2019-09-15 17:13:29 -07:00
2019-10-03 10:32:54 -07:00
2019-10-03 10:32:54 -07:00
2019-10-03 10:32:54 -07:00
2019-10-03 10:32:54 -07:00
2019-10-03 10:32:54 -07:00
2019-10-09 14:55:56 -07:00
2019-10-09 14:55:56 -07:00
2019-10-07 14:21:26 -07:00
2019-10-09 14:55:56 -07:00
2019-10-09 14:55:56 -07:00