eflake Posted February 14, 2021 Share Posted February 14, 2021 I'm working on resurrecting an old PD game my friend made, want to use CMC or something similar to make music. I want to make a simple title screen with music playing. Is there any basic code I can use for this, or some other format which would be easy to compose and use? Thanks. Quote Link to comment Share on other sites More sharing options...
miker Posted February 14, 2021 Share Posted February 14, 2021 If you have CMC and REP files loaded in memory you just call desired music using X=USR(REP,SONGMUMBER,CMC) and stop with: X=USR(REP) where: REP - player address SONGNUMBER - self explanatory (counting from 1) CMC - music address CMC and REP addresses are strored as haxadecimal ones in program. For Atari BASIC you need to convert then to decimals. And that's all. You just have to obey the order music on -> music off. Don't turn it on or off twice beacuse it may hang the system. 1 Quote Link to comment Share on other sites More sharing options...
eflake Posted February 14, 2021 Author Share Posted February 14, 2021 If I save a CMC file, it will store the REP file too? Quote Link to comment Share on other sites More sharing options...
miker Posted February 14, 2021 Share Posted February 14, 2021 No. To save REP file, press Control+M, there address will change just next after music end (but you can alter it of course), and then you press Return/Enter the file will be saved. Beware not to cross CMC/REP address and also not to damage any important data in memory. 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.