| |
Repose
Registered: Oct 2010 Posts: 225 |
single step debugger
Help I need a working single step debugger for c64 or a simulator that could load prg files.
Here's what I've tried so far and why it didn't work:
1) Hesmon on vice. I do soft reset; it goes to Hesmon at $8000. I choose w 0811 and cursor or spacebar. After a little bit, it starts running without stopping. I'm supposed to hit break, which on positional keymap is tab key, but it's not working. I tried other keymaps no luck, maybe it's hesmon itself.
2) 6502net - I can't load anything without a disassembly file, and it needs to be assembled in as65, which has no manual so I gave up.
3) virtual6502 - loaded prg in a compatible way (defaulting to 7ff start address). It only seemed to load 130 bytes or so, the rest was blank (the program was 344 bytes).
4) vice monitor - I can't figure out how to easily single step. There's z (count) but how do I set the current address? There's g (address) but that just runs it.
Is there any other c64 single step programs or a working simulator? |
|
| |
Flavioweb
Registered: Nov 2011 Posts: 463 |
C64 Debugger V0.56 |
| |
Repose
Registered: Oct 2010 Posts: 225 |
Ok thanks.
I can't figure out how to make it single step at a certain starting point. |
| |
oziphantom
Registered: Oct 2014 Posts: 490 |
Typically one is debugging a running system and hence you use a break point to start debugging where you want. But if you really want to "jump" to an address and start stepping
r PC=XXXX
z |
| |
Repose
Registered: Oct 2010 Posts: 225 |
Oh, you're talking about the Vice monitor. Yes that worked, thank you! |
| |
Endurion
Registered: Mar 2007 Posts: 73 |
C64Studio would also fit the bill, it remotes to VICE and provides Run To Cursor, break points and step variants. |
| |
Scan
Registered: Dec 2015 Posts: 111 |
C64 Debugger V0.56 by Slajerek/Samar, it can even do single-cycle stepping, you can also feed it a file with breakpoints, compatible with the format Vice uses. It takes a bit of time learning how to use it properly, but once you have... Damn, it's handy! ;) |
| |
Isildur
Registered: Sep 2006 Posts: 275 |
Just RTFM ;) |