OS4 DepotLogo by DaveyD 
(anonymous IP:,2193) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file



Support the site

 Readme for:  Emulation » Utility » cas_tools.lha


Description: MSX Cas (tapefile) converters
Download: cas_tools.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 104kb
Version: 1.1
Date: 25 Apr 2006
Author: Vincent van Dam, AmigaOS 4.0 compile by Spot / Up Rough with big help from HNL_DK!
Submitter: Spot / Up Rough
Email: spot/triad se
Requirements: AmigaOS 4.0 and a MSX .cas file or a .wav file containing MSX data.
Category: emulation/utility
License: GPL
Distribute: yes
Min OS Version: 4.0
FileID: 1795
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 435  (Current version)
435  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
    CAS Tools 1.1

       Copyright 2001,2002 Vincent van Dam

AmigaOS 4.0 compile by Spot / Up Rough with HNL_DK as my mentor, thanx a lot!

This is a set of tools which can read sampled MSX tapes and convert them to
the standard .cas format and back to .wav samples. This package consist of
three tools: wav2cas, cas2wav and casdir.

The most important tool is wav2cas, this tool does the actual conversion of
audio samples to the .cas format. The cas2wav is the reverse process and
converts .cas files back to audio samples, which can be read on a real MSX.
The casdir tool gives a detailed list of the contents of the .cas file. The
last two tools are pretty straight forward and will not be described any
further in this document.

The wav2cas tool requires a .wav file as input. It will analyse the signal and
create a .cas file. It will work on 'copy-protected' tapes which use their own
custom loader using the bios routines for the actual retrieval of data.
Unfortunately tapes exist which don't use the bios routines (e.g. a lot of 
Gremlin games used a entirely different format). These will not work. 
Fortunately, a lot of publishers did use the bios calls, and they should work

However, keep in mind that the tape medium was not the most reliable medium to
store data on; remember cleaning your heads, tuning your heads and playing with
the phase and volume settings on your datarecorder? This tool can have good
results, but if the signal is too much deteriorated it will probably fail.

You get the best results by sampling the tapes at the highest sample frequency
as possible. It does not matter if the sample is 16 or 8 bits; if it is 16 bits
it will be converted to 8 bits. Sample the signal as loud as possible, but make
sure the signal does not clip!. 

The wav2cas tool has 4 arguments to play with, but the default settings should
work fine if it is a clean clear signal.  The -t argument requires an integer
which defines a threshold; if the signal is noisy you could try a higher value
to get better results. The -e argument also requires an integer and defines the
amount of 'envelope' correction, you could try increasing and decreasing this
to get better results. The -n argument will maximize the signal and the final
-p argument will phase shift the signal.

This should be enough info to get you started in converting your old cassette
tapes to .cas files. Good luck!

                               Version History

[2002/06/09] 1.1
* cas2wav: increased gap between data and headers
* wav2cas: fixed bug in wav reading
* wav2cas: changed default phase 

[2001/12/03] 1.0
* first public release

Copyright © 2004-2024 by Björn Hagström All Rights Reserved