[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hires - to - Lores ... Yikes



Bender MX wrote:

>"Bill Garber" <willy46pa@comcast DOT net> wrote in message
>35CdnbCeQ42tCZ3cRVn-sA@comcast.com">news:35CdnbCeQ42tCZ3cRVn-sA@comcast.com...
>>
>> Restore those locations at the end before you RTS.  :o)
>>
>> Bill @ GarberStreet Enterprizez };-)
>> Web Site - http://garberstreet.netfirms.com
>> Email - willy46pa @ comcast DOT net
>> Change DOT to a dot to contact me
>
>Hehe, Hi Bill,
>
>Sure sure, and double the size of my code! :)
>
>I'm going to do that tomorrow night.  I'm a serious
>newbie at Apple 6502 code ... Basic, no problem,
>6502 code - yipe yipe yipe ...
>
>Mental exercise:
>I'd just have to LDA or LDX with the $40 and $20
>and STA or STX at $0304 and $0307, correct?

Right.

And the usually preferable way is to initialize variables
_before_ using them, rather than resetting them after
use.  That way if someone wants to work, say, on a
different page, they can just POKE the initializing
instruction immediate values.

-michael

Check out parallel computing for 8-bit Apples on my
Home page:  http://members.aol.com/MJMahon/