Jump to content
Sign in to follow this  
skr

Include "The Soundmachine" - obj file in ASM

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 by Irgendwer

Share this post


Link to post
Share on other sites

Thanks irgendwer, that is one step forward. Now I got a constant beep, but not a song. At least, the code didn´t crash. :)

Share this post


Link to post
Share on other sites

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... ;)

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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 by CharlieChaplin
  • Like 1

Share this post


Link to post
Share on other sites

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.

 

 

  • Like 4

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...