On 30/09/2018 07:17, David Holz wrote: > > 2) Temporarily place a BRK where the PC is going to be after the next > instruction runs. You'd have to anticipate the destination of branches > and jmp/jmp()/jsr/rts/rti. For all other cases, just the length of the > upcoming instruction is needed. This can fail if an instruction is > selfmodding the next opcode, dealing with ROM, or doing memory bank > stuff, but can be friendly to interrupts running in the background. 3) emulate instructions which can change the program counter & copy code into a buffer and put a jmp instruction after it. So you can trace rom. https://github.com/jefftranter/6502/tree/master/asm/jmonReceived on 2018-09-30 14:02:50
Archive generated by hypermail 2.2.0.