1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-02 07:41:32 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Peter Evans
1ac19aaaae Port similar changes from DE* to IN* 2018-04-30 22:15:24 -05:00
Peter Evans
635ff624e7 Refactor the DEC/X/Y tests a bit for clarity 2018-04-30 21:37:20 -05:00
Peter Evans
c53c7bfd1d Add function to return true if an instruction would write to memory 2018-04-21 23:15:48 -05:00
Peter Evans
37f9e627ba Change from last_opcode/last_operand to opcode/operand
This change also makes it so that those values are set once they are
known, rather than only at the end of the execute function.
2018-04-21 23:14:32 -05:00
Peter Evans
8e810e724f Add addr_mode field, rely upon it vs. the opcode
This makes testing _slightly_ easier, because now the handlers require a
type of state in the cpu vs. a specific opcode state in the segment that
we execute from. (The latter being just more complex to work with and
require in testing.)
2018-04-15 00:56:34 -05:00
Peter Evans
5db0c3b9c0 Clearer documentation on push_stack 2018-04-13 18:01:17 -05:00
Peter Evans
3887f52119 Clarify behavior of pop_stack 2018-04-13 16:22:58 -05:00
Peter Evans
ebb5f068fd Always set the UNUSED and BREAK flags after execution.
This change simply replicates the behavior demonstrated in AppleWin.
2018-04-13 16:17:13 -05:00
Peter Evans
4b0b8e1a89 Move vm_debug fully into apple2 2018-04-07 00:53:17 -05:00
Peter Evans
27d0a15bc5 Move vm_debug_broke() check out of mos6502 and into apple2 2018-04-07 00:48:16 -05:00
Peter Evans
a913668c02 Missing some reorg changes; move reflect into event, debug 2018-04-07 00:26:31 -05:00
Peter Evans
74aafb0d01 Reorganizing files into directories 2018-04-06 20:27:47 -05:00