2 introcoding problems plz help

AmigaOS specific forum
xperience2003
Enthusiast
Enthusiast
Posts: 111
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

2 introcoding problems plz help

Post by xperience2003 »

how can i play deltamusic 2 modules?
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"
does not run

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"
runs fine

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
User avatar
Dreamland Fantasy
Enthusiast
Enthusiast
Posts: 335
Joined: Fri Jun 11, 2004 9:35 pm
Location: Glasgow, UK
Contact:

Post by Dreamland Fantasy »

Shouldn't that be:

Code: Select all

pmusix: IncludeBinary "DM2.3" 
You seem to have missed a 'p'.

Kind regards,

Francis.
xperience2003
Enthusiast
Enthusiast
Posts: 111
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

Post by xperience2003 »

no..the compiler add a "p" on includebinary labels

Code: Select all

; MUSIC_DATA: IncludeBinary "dm2.3"
pMUSIC_DATA:
  INCBIN   "dm2.3"
_PB_EOP:
Post Reply