User Tools

Site Tools


base:very_short_sid_playroutine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

base:very_short_sid_playroutine [2015-10-07 22:15] (current)
ftc Moved page to the correct namespace
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'​ / You could write of course this play routine on every other place in the memory or simply load it to the specific adress in the memory when you once saved the code on floppy disk.
 +
 +  *  .> 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