Re: [cc65] lines of code, memory, etc

From: Marc 'BlackJack Rintsch <>
Date: 2008-12-29 11:23:27
On Saturday 29 November 2008, Tachdaun wrote:

>  PS: I'm aware of PEEK, in fact it inspired addr(x), but I use it in
> place of POKE, for example: addr( 0x4016 ) = 1; instead of POKE(
> 0x4016, 1 );
>  It just looks better for me.

With constants it looks IMHO even better if you give them names, like::

 #define FOO	((unsigned char*)0x4016)

And then ``FOO = 1;`` instead of ``POKE(0x4016, 1);``

	Marc 'BlackJack' Rintsch
“Puritanism: the haunting fear that someone, somewhere, may be happy.”
                                                       -- H.L. Mencken

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Dec 29 11:23:35 2008

This archive was generated by hypermail 2.1.8 : 2008-12-29 11:23:37 CET