deltamusic is easy to use the replayer is inside the module, but
the module must be in chipram
Code: Select all
DisableDebugger
MOVE.l #1,D0 ;init the module
MOVE.l pmusix,A0
JSR (A0)
EnableDebugger
Repeat
VWait()
DisableDebugger
MOVE.l #0,D0 ;call replay
MOVE.l pmusix,A0
JSR (A0)
EnableDebugger
Until mousebuttons()=1
end
musix: IncludeBinary "DM2.3"
in asmone i can locate the programm in chipram only
and this
Code: Select all
moveq #1,d0 ; INIT MUSIC
jsr music_data ; CALL THE PLAYER
wait:
moveq #0,d0 ; SET REPLAY MODE
jsr music_data ; CALL THE PLAYER
btst #6,$bfe001 ;wait for mouse
bne.s wait
MUSIC_DATA incbin "dm2.3"
another problem^^
how can i copy included bitmaps in the
allocatebitmap() - memory ???
( "decodebitmap"-command like =) )
hope someone have a idea or samplecode for me =)
ps: sry for my bad english lol