gozar Posted January 11, 2014 Share Posted January 11, 2014 Anyone have any examples playing music in Action!? I've looked at CMC, but can't quite figure out how to use it in Action!. Quote Link to comment Share on other sites More sharing options...
+JAC! Posted January 11, 2014 Share Posted January 11, 2014 The problem is that the replay routine and sound modules are typicall bound to specific address and these addresses are somewhere in your DOS/Action!/source ($700,$2000, $8000/$8400). What I did is create a small assembler project that put the initialization, player and sound into a single file and the then loaded from disk to a certain address. Quote Link to comment Share on other sites More sharing options...
gozar Posted January 11, 2014 Author Share Posted January 11, 2014 Is there a better way for me to add music to my game? I was playing around with VBIs in action and I did get that working. :-) Quote Link to comment Share on other sites More sharing options...
+JAC! Posted January 11, 2014 Share Posted January 11, 2014 If you have the tune, I can provide you with the version that you can use in ACTION! (Links itself into the VBI). 1 Quote Link to comment Share on other sites More sharing options...
pedromagician Posted April 4, 2021 Share Posted April 4, 2021 On 1/11/2014 at 7:36 PM, JAC! said: If you have the tune, I can provide you with the version that you can use in ACTION! (Links itself into the VBI). This is old conversation but would you be so kind to publish this code? Quote Link to comment Share on other sites More sharing options...
zbyti Posted April 4, 2021 Share Posted April 4, 2021 https://github.com/zbyti/a8-action-playground/blob/master/src/ZBYTI/CMCVBLK.ACT 2 Quote Link to comment Share on other sites More sharing options...
pedromagician Posted April 6, 2021 Share Posted April 6, 2021 Well thank you. I tried it but the compilation ends with error 8 Quote Link to comment Share on other sites More sharing options...
zbyti Posted April 6, 2021 Share Posted April 6, 2021 (edited) DEFINE ADDRPLA="$2000",ADDRMUS="$3000" SET $E=ADDRPLA SET $491=ADDRPLA Compile it from file. cmc.mp4 Edited April 6, 2021 by zbyti 1 Quote Link to comment Share on other sites More sharing options...
pedromagician Posted April 6, 2021 Share Posted April 6, 2021 It works, thank you 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.