Re: [cc65] Need help getting started with cc65 NES

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-11-15 18:37:03
On Tue, Nov 15, 2005 at 08:16:48AM -0600, PH wrote:
> I'm new here, and I'm trying to get started writing some NES code.  I
> have lots of experience in writing c code, and working with different
> micros, though I haven't worked with the 6502 much.  I have the
> following code that I pulled from the mailing list:

Can you try something even simpler to check, if the program is running at all
and just the library is messed up, or if the program is not running at all?

Something like

        #include <peekpoke.h>

        int main (void)
        {
            POKE (0x1234, 0xAA);
            POKE (0x4321, 0x55);
            while (1) ;
        }

The POKEs need to be choosen for the NES so that a noticeable effect is
generated. Like producing a sound or generating output on the screen. Above
POKEs are just examples, since I don't know anything about the NES.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Nov 15 18:37:14 2005

This archive was generated by hypermail 2.1.8 : 2005-11-15 18:37:16 CET