> My question is, since these all (should) refer to the same memory > location ( 0x0284 ), they should produce the same output. The correct > output value is '1', not 225. Is there some issue with doing indirect > loads ( de-referencing an unsigned char * )? You did not set mouse_port to any value yet! How about: static volatile unsigned char *mouse_port=(unsigned char*)STRIG0; -- ---> 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 20:52:34 2009
This archive was generated by hypermail 2.1.8 : 2009-03-03 20:52:36 CET