Yep, yet ANOTHER question (sorry). How do I convert Wav files to CAS?
There are a few WAVs in the archive that don't seem to work for me (Module Man, Mr Dig), but the WAVs work fine.
Wav to CAS
Re: Wav to CAS
For WAV to CAS you can start XRoar in a mode that rewrites anything it loads out to a CAS file. Start it with the "-tapehack" option, then press Control+W to give a filename for CAS output. Then Control+L to attach the WAV and load your program. The output file should contain CAS data when you quit. This works by intercepting ROM calls, so extra special loaders will defeat it.
CAS to WAV is simpler (as it's just converting the bits into a waveform). I have a little Perl script here that does the job, though not sure what's involved in running it under Windows: http://www.6809.org.uk/tmp/da/cas2wav.pl
CAS to WAV is simpler (as it's just converting the bits into a waveform). I have a little Perl script here that does the job, though not sure what's involved in running it under Windows: http://www.6809.org.uk/tmp/da/cas2wav.pl
Re: Wav to CAS
I can't seem to get this working (on windows), running the exe with -tapehack results in nothing happening, running it without and xroar starts normally.sixxie wrote:For WAV to CAS you can start XRoar in a mode that rewrites anything it loads out to a CAS file. Start it with the "-tapehack" option, then press Control+W to give a filename for CAS output. Then Control+L to attach the WAV and load your program. The output file should contain CAS data when you quit. This works by intercepting ROM calls, so extra special loaders will defeat it.
Windows XP pro SP3, Xroar 0.23-windows32.
stderr.text contains :
xroar.exe: unrecognised option `-tapehack'
So do I need a perticular version of the xroar binaries or has it been accidentally disabled in the release version ?
Cheers.
Phill.
Last edited by prime on Wed Jun 02, 2010 6:24 pm, edited 1 time in total.
Re: Wav to CAS
Sorry, try the 20100119 snapshot (edit: or I just pushed out a build today) from http://www.6809.org.uk/tmp/xroar/. I should really get around to another proper release.
Re: Wav to CAS
Excelent that's exactly what I needed to fix the backtrack.cas from the archive which seems to have the bytes not aligned properly, I'll upload a version where they are.sixxie wrote:Sorry, try the 20100119 snapshot (edit: or I just pushed out a build today) from http://www.6809.org.uk/tmp/xroar/. I should really get around to another proper release.
Cheers.
Phill.