Jump to content
Sign in to follow this  
RSS Bot

OLD CS1's Blog - Dumping 99/4A ISR sound list binaries

Recommended Posts

I have been working on some Rexx scripts to manipulate sound list binary files exported from Rasmus' soundlistripper. I ran into a few problems here and there, and found these problems were mostly due to my experience in ARexx, Amiga REXX, which has some differences compared to various Rexx interpreters. To demonstrate my lacking in "standard" Rexx I went back to basics and wrote a simple dump program.

This is also where the statement OPTIONS AREXX_BIFS AREXX_SEMANTICS comes into play.

This requires Regina Rexx 3.9.1. In particular because earlier versions (not sure where the cut-off is, but for certain 3.7) only allow a stream of around 1.5k bytes. The Regina manual states the limit on a single line in ARexx is 1,000 characters, but I found some sources which indicate a maximum of 64k bytes.

I had to make some other adjustments to get my ARexx-fu to work in Regina, but at least now it does work and I can go back to the larger manipulation program and fix my stuff. (For one thing, I need to make the program more modular and have just a single section for input and output rather than in each manipulation.)

If you have .rexx associated with Regina and Regina is in your PATH, you can execute the script below like this:

sound_list_dump.rexx filename

The input file is a raw binary dump of an ISR sound list, the output is 9900 assembler BYTE statements representing the contents of binary, one statement per row. This does no checking on the content of the file other than watching for a duration of "0" which indicates the end of a sound list. So unpredictable results occur if you feed it something else.

Spoiler




http://atariage.com/forums/blog/600/entry-12224-dumping-994a-isr-sound-list-binaries/

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...