New debugger features for ZEsarUX-4.1

Emulator and emulator development specific topics
Post Reply
User avatar
chernandezba
Posts: 183
Joined: Tue Mar 11, 2014 4:30 pm

New debugger features for ZEsarUX-4.1

Post by chernandezba » Thu Mar 17, 2016 7:18 pm

Hi

I haved added new breakpoint conditions on ZEsarUX, the following 8 allow to put a breakpoint when accessing memory or i/o ports:

MRV: value returned on read memory operation
MWV: value written on write memory operation
MRA: address used on read memory operation
MWA: address used on write memory operation
PRV: value returned on read port operation
PWV: value written on write port operation
PRA: address used on read port operation
PWA: address used on write port operation

So, a condition like
MWA=32768
Will stop execution when we make a poke to address 32768

Another one:
MWA=32768 and MWV=100
Will stop execution when making a: POKE 32768,100

Another one:
MWA<16384
Will stop execution when trying to write on ROM addresses

I have added two more pseudo variables:

TSTATES: t-states total in a frame
TSTATESL: t-states in a scanline

And there's much more, you can add "watches", I mean, variables and registers that are shown on the display on real time, even with menu closed. The name "watches" comes from Turbo Pascal/Turbo C that used the same name for this feature, if I remember well.

So we can set a watch like:
A ROM BC

And it will show on screen the value of A register, the mapped ROM number and the BC register

I have uploaded a video showing all this:
https://youtu.be/UyFZ4qUtVik

Remember these changes are made on the last source code, that you could test it when I make the next beta version or if you want to try to compile the last snapshot source.

Other feature requests from you will be welcomed ;)

Cheers
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux

User avatar
chernandezba
Posts: 183
Joined: Tue Mar 11, 2014 4:30 pm

Re: New debugger features for ZEsarUX-4.1

Post by chernandezba » Thu Mar 17, 2016 8:21 pm

Update:
I have just uploaded new beta versions Win/Mac with the last changes:

https://sourceforge.net/projects/zesaru ... _versions/
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux

Post Reply