> It does not affect the generated code at all. cc65 literally uses it as > is. > > However, "a = * ((unsigned char * const) 0x0284); " is much more > efficient (compiled with -O): > > 000003r 1 AD 84 02 lda $0284 > 000006r 1 A0 00 ldy #$00 > 000008r 1 91 rr sta (sp),y So, we can use the old way to do it: #include <peekpoke.h> #define MOUSE_PTR 0x0284 unsigned char a=PEEK(MOUSE_PTR); -- ---> Dirk Jagdmann ----> http://cubic.org/~doj -----> http://llg.cubic.org ---------------------------------------------------------------------- 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 Mar 3 21:34:08 2009
This archive was generated by hypermail 2.1.8 : 2009-03-03 21:34:11 CET