Re: LZ: debug program
[Prev][Next][Index][Thread]
Re: LZ: debug program
On Sun, 21 Jul 1996, David Kristensen wrote:
> Here is a debugging program that I wrote that displays the values of the
> registers a, b, c, d, e, h, and l. Anyone with a little programming
> experience could write the same thing, so this is intended for beginners who
> want to know why their programs don't work. I know I have found some stupid
> mistakes with this program such as forgetting that certain ROM_CALL's
> destroy the registers, such as CLEARLCD (BTW, it does NOT set hl to 0:) and
> D_HL_DECI (which also messes with the hl register). If anyone wishes to
> modify it, feel free to do so short of stealing credit (you may even want to
> include "tested by David Kristensen's debugging program" in your
> documentation if you use this program). One thing I have no use for yet, but
> other people might would be to include a flag register display also. It
> wouldn't be too hard, but it would be a little more complex than the rest of
> the program.
Thanks for this. It'll help. I've done lots of asm and even more
than a little Z80 but the Z80 stuff was years ago and I'm really a
beginner with it now.
Barry
References: