| |
Gordian
Registered: May 2022 Posts: 35 |
Break Vice at certain opcode
Hello,
is there any possibility to create condition for breaking Vice monitor at certain opcode? |
|
... 38 posts hidden. Click here to view all posts.... |
| |
wacek
Registered: Nov 2007 Posts: 501 |
AFAIR it has more advanced ways for breaking (it actually might have breaking as Gordian wanted originally, didn't check), but there is also not so much need for breaking when you can go cycle by cycle, command by command or rasterline by rasterline + rewind ;) it really does best what is in the name - help debug. I have traced strange things with it many times. Especially if you are very much still in the learning phase like myself, it helps a lot.
Once I remembered placing label in a wrong place and accidentally setting decimal mode for example ;) yeah, RD rulez. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11135 |
Uh. So you don't know, and what you suggest doesn't solve the original request either. OK >_<
It is VICE, as said. And those more advanced conditions were only added recently. |
| |
wacek
Registered: Nov 2007 Posts: 501 |
Quoting chatGPZUh. So you don't know, and what you suggest doesn't solve the original request either. OK >_<
You confused AFAIK with AFAIR, LOL. And my comment was on general usability of RD for debugging, hence "such things", not "this thing". It was a general advice to use RD for debugging, and wondering that precise solution MIGHT be there.
I checked, and it's not there, the possibilities are:
1. VIC / CIA / NMI - stops when selected interruption occurs
2. CPU PC - the code will stop as the processor will start to perform instruction from selected address
3. MEMORY - stops when there will be attempt to write to the memory of the set value, for example: 4FFF <= 3F will stop code when there will be attempt to write to the cells 4FFF value less or equal to 3F. To break at any write access you can use <= FF
4. RASTER - stops when raster reaches the set line value.
According to Vice manual, it has 2 & 3 - correct? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11135 |
VICE monitor can do all of that, of course. And more :) You'll have to understand and use the breakpoint conditions. |
| |
wacek
Registered: Nov 2007 Posts: 501 |
Yeah sure, some things easily done in RD can be also done in a complicated way in vice monitor ;) no idea why sane people would choose that route, but hey dude, whatever rocks your boat... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11135 |
It's really not that complicated if you know what you are doing. And if you do, it can do much much more than just those few things that the Retro Debugger frontend makes a little bit easier to do. I'd rather have up to date emulation and features, but whatever rocks your boat, indeed :) |
| |
Gordian
Registered: May 2022 Posts: 35 |
Quote: Gordian, I assume you do not use RetroDebugger for such things? :)
Wacek,
the most used and my favorite tool is INC/DEC$D020/21 "debugger", but in this case VICE worked better;)
Now when I know how to debug in such situations, it can be done easily, quickly and efficiently. |
| |
wacek
Registered: Nov 2007 Posts: 501 |
Quoting chatGPZIt's really not that complicated if you know what you are doing.
Please show me the rewinding or mem usage dumps done in Vice.
Bashing other tools that are obviously done to serve the community and should be appreciated in the same way your work with Vice is appreciated, is just damn childish, don't you think?
RD is a great tool and admitting that does not take anything away from Vice, sheesh. |
| |
wacek
Registered: Nov 2007 Posts: 501 |
Quoting GordianWacek,the most used and my favorite tool is INC/DEC$D020/21
Same here. But believe me, for serious debugging, you should give RD a try ;) |
| |
wacek
Registered: Nov 2007 Posts: 501 |
Quoting chatGPZIt's really not that complicated if you know what you are doing.
Well, I know you love to patronize, but I do know what I'm doing with Vice, thanks.
Quote:I'd rather have up to date emulation and features
Thinking that THIS and using RD is mutually exclusive is retarded. |
Previous - 1 | 2 | 3 | 4 | 5 - Next |