+skr Posted August 12, 2018 Share Posted August 12, 2018 I am a bloody beginner with ASM, using WUDSN IDE and MADS to code a little demo. I have an obj-soundfile which was created with "The Soundmachine" from J. Piscol, but have no idea, how to include that in my project and play it back. There is a BASIC-Demo on the Soundmachine disk, but that doesn´t help me due to my limited knowledge. Can´t find any documentation. Any help appreciated. Quote Link to comment Share on other sites More sharing options...
Rybags Posted August 12, 2018 Share Posted August 12, 2018 With MADs I believe you use INS 'filename' English manual for MADS here http://mads.atari8.info/mads_eng.html Not sure if there's a PDF version. Quote Link to comment Share on other sites More sharing options...
+skr Posted August 12, 2018 Author Share Posted August 12, 2018 Thanks, I got that part already. But now that I have it included, how do I play it? That´s the part I don´t know. For rmt-files there is a sample-file to do it, I could need something like that for this. Quote Link to comment Share on other sites More sharing options...
Rybags Posted August 12, 2018 Share Posted August 12, 2018 It might be the case that the Soundmachine executable is intended for standalone use only. RMT is oriented towards inclusion in other programs where you do the init call then call the player every frame. Likely with some playing around the SM file should be able to be used in that sort of fashion. Quote Link to comment Share on other sites More sharing options...
Irgendwer Posted August 12, 2018 Share Posted August 12, 2018 (edited) Thanks, I got that part already. But now that I have it included, how do I play it? That´s the part I don´t know. AFAIK the loading/start address of the output files are static and begin with $1F00. Could you please try the following to start the music: lda #0 sta $1F1E ? (To stop the playback you have to write a '1' to the same location and clear the sound output registers.) Edit: You have to init the player by calling "jsr $1f09" beforehand. Edited August 12, 2018 by Irgendwer Quote Link to comment Share on other sites More sharing options...
+skr Posted August 12, 2018 Author Share Posted August 12, 2018 Thanks irgendwer, that is one step forward. Now I got a constant beep, but not a song. At least, the code didn´t crash. Quote Link to comment Share on other sites More sharing options...
Irgendwer Posted August 12, 2018 Share Posted August 12, 2018 Hard to say what's missing or interfering. Did you try to use the sound .obj-file exclusively so that any violation of memory or VBI handler can be excluded? If nothing helps you could send me the obj via PM, but don't expect wonders - at least not soon... Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted August 12, 2018 Share Posted August 12, 2018 Well, the Soundmachine was distributed/sold by Peter Finzel Productions. Afair, Peter Finzel wrote a player routine in one of his assembler corners ("Peter's Assemblerecke"), but I do not remember if it was in Atari Magazin or Computer Kontakt. Think the Compyshop magazine also had an article and some software for the Soundmachine... Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted August 12, 2018 Share Posted August 12, 2018 (edited) Searched through Computer Kontakt and Atari Magazin and could not find any player-software for The Soundmachine music, so this must have been in another german magazine. Armin Stuermer used Soundmachine music in several of his AMC games, e.g. Herbert, Jinks, etc. maybe you can find something there. Attached are two demo disks with Soundmachine music and player software in Basic. My search continues... EDIT: Maybe this helps a bit further: http://atariage.com/forums/topic/272348-sound-machine-manual/?hl=%2Bsoundmachine&do=findComment&comment=3905786 or this direct link (use Google translate!): http://atariki.krap.pl/index.php/SoundMachine Soundmachine_Demos.zip Edited August 12, 2018 by CharlieChaplin 1 Quote Link to comment Share on other sites More sharing options...
Irgendwer Posted August 19, 2018 Share Posted August 19, 2018 Just to "tag" this thread as "solved": I managed to replay skr's sound file. The output file is a quite unhandy compound file (and "init" executes already $1f09), where the run address points to code jumping to DOSVEC. Patching the run address to execute code which does the already mentioned lda #0 sta $1f1e replays the music. 4 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.