Re: [stella] some more optimization tips

Subject: Re: [stella] some more optimization tips
From: emooney@xxxxxxxxxxxxxxxx (Erik Mooney)
Date: Sat, 09 May 1998 02:26:40 GMT
>> I can't figure a 2 byte non-destructive 5 cycle delay :(
>> 
>> Of course, a destructive one is easy
>> 
>>     INC $80

I missed this variant before: You should be able to do INC $30 for a
two-byte five-cycle non-destructive delay.  $30 isn't used by the TIA as a
write register; as a read register, it returns the same data as address
$00, which is just a collision register and reading it does no harm.  As
long as you're not using a cart that does bankswitching on that address, it
should work.  (this is obviously 2600-specific and not 6502-generic, which
most of the others were)

--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/stella.html

Current Thread