Subject: Re: [stella] Fast Missile code From: "Thomas Jentzsch" <tjentzsch@xxxxxx> Date: Fri, 16 Jan 2004 13:42:02 +0100 |
Manuel wrote: > Since I'm usually prefering simple solutions, the sheer > brilliantness of this snippet is probably too hard to > resist. :-) > > It's just perfect: > > No scannline count reqired, no stack, no register, the > carry doesn't matter... Thanx! :-) > Wait... shouldn't it rather be > > > lda #3 > > instead of > > > lda #4 Yup, #HEIGHT-1 is correct. So this is better: lda #4-1 dcp torpedoyPos adc #2 sta ENAM1 lda #4-1 dcp torpedoyPos+1 adc #2 sta ENAM0 Have?fun! Thomas _______________________________________________________ Thomas?Jentzsch?????????|?***?Every?bit?is?sacred?!?*** tjentzsch?at?web?dot?de?| ______________________________________________________________________________ Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] Fast Missile code, Manuel Rotschkar | Thread | Re: [stella] Fast Missile code, Manuel Rotschkar |
Re: [stella] Fast Missile code, Manuel Rotschkar | Date | Re: [stella] Seawolf: Day Eleven, Thomas Jentzsch |
Month |