Debugging - memory watches

You need an actual VIC.

Moderator: Moderators

Post Reply
Subchase
Vic 20 Newbie
Posts: 4
Joined: Mon Feb 14, 2011 4:37 pm

Debugging - memory watches

Post by Subchase »

Hi,
i want to "watch" memory offsets with VICE but looks like the built-in monitor only supports tracepoints, watchpoints and breakpoints for the 'program counter'. I need something to watch basic variables in (somewhat) realtime in a separate window running parallel. Any solution known for that? I could debug VICE itself but that's kinda overkill.
User avatar
Kweepa
Vic 20 Scientist
Posts: 1314
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Post by Kweepa »

In the debugger console window, type

Code: Select all

help break
Subchase
Vic 20 Newbie
Posts: 4
Joined: Mon Feb 14, 2011 4:37 pm

Post by Subchase »

I'm searching for something that gives me a permanent "PRINT PEEK (4096)" output in a separate window. Just for 10-20 offsets. I want to see the memory in realtime. I think 'break' will just jump/break into the monitor.
User avatar
Kweepa
Vic 20 Scientist
Posts: 1314
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Post by Kweepa »

Oh, I see. You'd have to modify VICE to achieve that.
Or depending on your needs you could write a TSR that outputs the contents of the 20 locations to a line on the screen.
Post Reply