base:very_short_sid_playroutine
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | base:very_short_sid_playroutine [2015-10-07 22:15] (current) – Moved page to the correct namespace ftc | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Very short play routine ====== | ||
+ | |||
+ | A very short music playroutine with fast forward function. Hold spacebar to fast forward the tune. | ||
+ | For tunes between $0800-$9FFF | ||
+ | |||
+ | Coded by The Typhoon / Future Technologics 2009 in the year 1988 brought to the C64 Codebase by G-Fellow / Hokuto Force | ||
+ | |||
+ | Written directly in the MON of the Action Replay - Write in your MON of the Action Replay ' > 3000 SEI ' [RETURN] to start coding. | ||
+ | To LIST your code in the Action Replay MON write ' D 3000 301F ' | ||
+ | |||
+ | The example code is for a tune on $1000 with Init;$1000 and Play;$1003 - Start this code when you finished it, in the MON with 'G 3000' or in the Basic C=64 with 'SYS 3*4096' | ||
+ | |||
+ | * .> 3000 SEI | ||
+ | * .> 3001 LDA #$00 | ||
+ | * .> 3003 JSR $1000 ;Tune Init | ||
+ | * .> 3006 LDA $D012 | ||
+ | * .> 3009 CMP #$72 | ||
+ | * .> 300B BNE $3006 | ||
+ | * .> 300D INC $D020 | ||
+ | * .> 3010 JSR $1003 ;Tune Play | ||
+ | * .> 3013 DEC $D020 | ||
+ | * .> 3016 LDA $DC01 | ||
+ | * .> 3019 CMP #$EF | ||
+ | * .> 301B BEQ $3010 | ||
+ | * .> 301D BNE $3006 | ||
base/very_short_sid_playroutine.txt · Last modified: 2015-10-07 22:15 by ftc