Re: [cc65] Help!,does anyone know how to use NES joystick with cc65

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-02-17 13:46:37
On Tue, Feb 17, 2009 at 08:40:14PM +0800, zhblue (newsclan) wrote:
> void testjoy(){
>    char err=0;
>    const char * stdjoy="nes-stdjoy.joy";
>    err=joy_load_driver(stdjoy);
>    cprintf("%u",err);
> }
[...]
> Unresolved external `_close' referenced in:
>  joy_load.s(18)
> Unresolved external `_open' referenced in:
>  joy_load.s(16)
> Unresolved external `_read' referenced in:

The NES doesn't have disks and/or file systems. You will need to statically
link the driver to the executable.

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 Feb 17 13:48:10 2009

This archive was generated by hypermail 2.1.8 : 2009-02-17 13:48:13 CET