Re: [cc65] The "Mixed-Up Toy" and other "Incredible Toys" - An Apple II DHGR Programming Adventure for the C Language Programmer

From: Alan Cox <>
Date: 2015-01-24 01:35:09
Nice clear code.

You can probably avoid the inline assembler by doing

volatile unsigned char *dhrmain = (volatile unsigned char *)0xC054;

Then you can just write


or similar.

The volatile is for correctness, cc65 I don't think cares about
volatile because a 6502 has not got enough registers for it to matter.

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jan 24 01:35:14 2015

This archive was generated by hypermail 2.1.8 : 2015-01-24 01:35:16 CET