AtomBusMon
AtomBusMon copied to clipboard
Add go command
To force the CPU to start executing at a given location.
There are a couple of approaches to consider:
- Extend the CPU core to support register writing on the debug interface (T80 already has this)
- Force a JMP xxxx command onto the CPU core data bus
In the 6502/65C02 I've added go and exec commands, which work by forcing opcode values onto the 6502 data bus.
It was quite involved to do this and there are race conditions with interrupts.
I'm not sure if I'm going to add this to the Z80 and 6809.
Let's see if it's every actually useful!
Are there command to set register values? (a quick scan of the wiki says no) Jumping to an address is nice and all, but usually the contents of the register can matter quite a bit...
No, currently it's not possible to set a register value.
This would be possible, but it would require some customizations to each core.