chitselb wrote:
I'm working with VICE emulator on Linux
Me too.
Quote:
VICE has breakpoints. This uses the COMMAND to run a monitor command when VICE hits the breakpoint, which on the VIC-20 contains an RTS opcode. The 6502 test code will (hopefully) complete successfully, and as a final action do SYS 65503 (or somehow transfer control to $FFDF). Hitting breakpoint triggers the command, which kills the emulator process!
I didn't know VICE has break points.
I suppose I just saw it as a C-64 on my Linux box and used it pretty much as I used the real C-64 I had.
This is really cool. You've just given me an idea. I don't know if it is possible yet, and it may already have been done. What about using the addresses of the C-64 user port and data direction register as break points to get VICE to emulate the C-64's user port?