It is currently Fri Apr 03, 2020 4:35 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 2 introcoding problems plz help
PostPosted: Tue Mar 21, 2006 6:28 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 05, 2004 9:05 pm
Posts: 103
Location: germany
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:
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:
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

_________________
Kultstudio


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 22, 2006 5:19 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 11, 2004 9:35 pm
Posts: 293
Location: Glasgow, UK
Shouldn't that be:

Code:
pmusix: IncludeBinary "DM2.3"

You seem to have missed a 'p'.

Kind regards,

Francis.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 22, 2006 5:39 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 05, 2004 9:05 pm
Posts: 103
Location: germany
no..the compiler add a "p" on includebinary labels

Code:
; MUSIC_DATA: IncludeBinary "dm2.3"
pMUSIC_DATA:
  INCBIN   "dm2.3"
_PB_EOP:

_________________
Kultstudio


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye