Re: [cc65] Lynx target

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2003-02-26 17:27:33


>>> Christian Kruger <christian.krueger_at_pace.de> 02/26/03 01:33AM >>>

>> >> and I have a #define SUZY (*(struct __suzy *) 0xFC00) in 
>> my lynx.h file.  How
>> >> do I use this structure?  If I do var = SUZY.joystick in 
>> my code the compiler
>> >> complains bitterly.
>
>I'm not sure if this is the fastest way of accessing the
>joystick-'register' of suzy. Maybe the code
>generated by a struct access at a fixed address is
>no so efficient like the direct access of the absolute
>address...

I have a #define joystick (*(*unsigned char *) 0xFCB0) in my header file too (which works with no problems.)  I just tried to duplicate the hardware structs used in the other targets.

I'll be interested to see what you've done with your lynx target!  I'm just goofing around with this for my own use.

¯
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-26 20:35:39 CET