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


Forums > C64 Coding > Misbehaving Breakpoints
2004-09-12 20:33
Cybernator

Registered: Jun 2002
Posts: 154
Misbehaving Breakpoints

Don't know if anyone encountered this problem before..
Anyway, I tried setting a breakpoint on write access to
a zeropage location in CCS, but it doesn't seem to work.
Breakpoints on execution are ok, though.

So I thought trying with VICE. I set a watchpoint (which is
just a breakpoint on R/W access) to the zeropage location,
but it still doesn't work.

Now you'd say that maybe the access never happens, but I
see the location changing the value, and this has always
been happening. The strangest thing is that both emus fail.

Anyone's got a clue? This is senseless.
2004-09-13 00:35
iAN CooG

Registered: May 2002
Posts: 3137
In CCS breakpoints/watchpoints on zeropage access is known to not work.
In Vice I've tried
w 0002
w store 0002
w load 0002
and seems to work here, it breaks on poke2,0 or ?peek(2).
It doesn't seems to work if I try to watch for $01 changes, though.
2004-09-13 10:35
Cybernator

Registered: Jun 2002
Posts: 154
It still doesn't work. :-|

At $0070 there's LDX #$nn

I tried: w store 0071, but the monitor never pops up.
Then: w load 0071, and the monitor pops at $0072.

Apparently it breaks on cpu-level access (if that's the
correct term). I mean it should break if there's an
opcode whose operand (effectively) points to the specified address.
That should never happen with immediate addressing.
But I still don't get why it doesn't break on write access.

Btw, I'm assuming that the voxel engine in Nine/Reflex is
realtime. Is there any other voxel as cool as this one?
(AFAIK, the voxel in Love/Agony is a complete precalculation).
2004-09-13 10:36
Cybernator

Registered: Jun 2002
Posts: 154
Oh, and how about the latest version of CCS? Does it work
with zeropage breakpoints? It won't run on my machine. :(
2004-09-13 11:28
raven
Account closed

Registered: Jan 2002
Posts: 137
Hmm is this C64 coding? ;)
2004-09-13 12:07
Cybernator

Registered: Jun 2002
Posts: 154
Quote: Hmm is this C64 coding? ;)

Nope, it's emulamer reverse-engineering. :P
2004-09-13 17:33
Hoogo

Registered: Jun 2002
Posts: 102
What write-access?
2004-09-13 19:20
JackAsser

Registered: Jun 2002
Posts: 1994
pha,php,sta,lsr,asl,ror,rol,inc,dec
2004-09-14 09:18
Oswald

Registered: Apr 2002
Posts: 5029
cybernator: for similar voxels check: unsound minds/byterapers, deep blue/arise, breitbrandkatze/reflex

the love /agony version is better to be called: animation :)
2004-09-14 10:58
Cybernator

Registered: Jun 2002
Posts: 154
That voxel in Nine/Reflex _might_ be yet another precalculation (not as complete frames, though). There's a speedcode which looks like a line drawer.

Actually, something like Feeling Retro. :)
2004-09-14 11:45
hollowman

Registered: Dec 2001
Posts: 474
whats so odd with having speedcode for drawing lines in
a voxelscape routine? or is unrolled code also cheating? =)
 
... 7 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
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
bonefish
csabanw
Colt45RPM
Sande/Hokuto Force
Sentinel/Excess/TREX
𝘁𝗡𝗚/FairLight
Guests online: 94
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Aliens in Wonderland  (9.7)
5 Coma Light 13  (9.7)
6 Edge of Disgrace  (9.6)
7 No Bounds  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.8)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

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