??: [cc65] how to... c program for NES

From: <plouf1in.gr>
Date: 2004-09-07 12:14:26
ok i made somethink with this example that runs in FCEultra (thats a success :))
however i am not sure if i place all files in correct place i copy the include folder inside
bin and also copy the nes.lib and nes.o there too (its look a bit dirty ??)
is the nes.cfg goes anywher ?


 ---FORWARDER MESSAGE---
for a quick test, compiling something like

#include <conio.h>

int main (void)
{
	clrscr();
	cprintf("hello world");
	while(1)
	{
	}
}

with -t nes should do the trick and produce a working cart image.

you can also look at the stuff i posted some days ago, there is
a little tetris clone that uses the conio lib for output and joystick
lib for input .. this should work just fine on nes.

gpz

ps: if you know the nes already and want to code something "serious"
_for the nes_ then resist the temptation of using conio and all that -
make your own nes specific routines :)

----------------------------------------------------------------------
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 Sep 7 12:14:49 2004

This archive was generated by hypermail 2.1.8 : 2004-09-07 12:14:57 CEST