Re: [cc65] Strange problem

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2003-02-12 20:57:44


>Have you tried using the debugger module instead of the builtin debugger of
>your emulator? The debugger module runs on the 6502 machine, so it's more
>limited in some areas than an emulator. However, since it knows about some
>cc65 internals, and it has a nice fullscreen view, it can often display more
>useful information. I have to admit that I prefer using the debugger module
>over the debugger built into VICE, provided that none of the limitations come
>into effect.

I tried using the debugger, but unfortunately I am in a graphics mode and the debugger doesn't display properly.  I've also hijacked the display list and screen memory... I couldn't get it to work the first time and gave up on it.

I did finally figure out my problem though (there were several)  I was looking at a value before and then after a loop that incremented it (no wonder they didn't match up.)  I also was doing a &= instead of a |= so I couldn't see any output on the screen (this is a blit function.)  There are still some bugs, but it is generally working now!  I almost posted a message begging for help, but I decided to take one more look at the code.  I'm sure everyone is happy I did. ;)

Sometimes programming can be so frustrating, but the feeling of actually finding a bug and fixing it is great!

¯
Shawn Jefferson


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-02-12 20:59:06 CET