Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > single step debugger
2017-04-08 03:58
Repose

Registered: Oct 2010
Posts: 222
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?
2017-04-08 04:01
Flavioweb

Registered: Nov 2011
Posts: 442
C64 Debugger V0.56
2017-04-08 04:16
Repose

Registered: Oct 2010
Posts: 222
Ok thanks.

I can't figure out how to make it single step at a certain starting point.
2017-04-08 05:09
oziphantom

Registered: Oct 2014
Posts: 478
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
2017-04-08 05:18
Repose

Registered: Oct 2010
Posts: 222
Oh, you're talking about the Vice monitor. Yes that worked, thank you!
2017-04-08 05:21
Endurion

Registered: Mar 2007
Posts: 72
C64Studio would also fit the bill, it remotes to VICE and provides Run To Cursor, break points and step variants.
2017-04-08 10:57
Scan

Registered: Dec 2015
Posts: 110
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! ;)
2017-04-08 14:32
Isildur

Registered: Sep 2006
Posts: 274
Just RTFM ;)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
wil
Alakran_64
Rick/F4CG
Isildur/Samar
Scrap/Genesis Project
manganoid/Hokuto Force
Guests online: 75
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.038 sec.