RE: Re: Re: [stella] Update: "do re bB" and webTune2600

Subject: RE: Re: Re: [stella] Update: "do re bB" and webTune2600
From: "Lee Fastenau" <stella@xxxxxxxxxxxxxxx>
Date: Fri, 19 Aug 2005 00:07:26 -0400
> From: cybergoth@xxxxxxxx [mailto:cybergoth@xxxxxxxx]
> In it's simplest form a 5.3 driver using music.h looks like this:
> 
>     LDA note
>     BEQ Silencium
>     STA AUDF0
>     LSR
>     LSR
>     LSR
>     LSR
>     LSR
>     TAY
>     LDA soundTypeArray,Y
>     STA AUDC0
>     LDA #VOLUME
> Silencium
>     STA AUDV0
> 
> soundTypeArray
>     .byte 4,6,7,8,15,12,1,3
> 

Well shoot.  That's nice! :)  Goodbye 4-note intro tune, hello real music!

And only because my brain's in "optimize" mode for Reflex, I think a byte
and two cycles can be saved on the LSR's with: ASL, ROL, ROL, ROL. :)

(I know, you said "simplest form" ... still)

-Lee



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

Current Thread