>> I really need to check the value of one register and onememory location
>> as they keep giving bad results.
>> has anyone got a working debugger yet?
>> it would be impractical to post the code as there is a lot of it, but i
>> only need to check one register(C) and one memory location.
>> please help.
> Personnaly, I solved this problem by grabbing the source of the
> emulator, and I replaced the $50 opcode (one of the flash access
> instruction, which i never use) with a function that dumps an arbitrary
> ram address. I can then insert it anywhere in my code to dump various
> values.
Not a bad idea! You can also make it so writing to a "special" address
location would show up all registers and dump memory. So that's a single
source code line and cycle to debug.