General description :
This is an utility to convert binary image files to Sharp
computer's audio save.
The source file is now available and is licensed
under the GPL, please read the included copying.txt file.
WARNING : This software can't generate WAV file from ASCII
BASIC files.
You can use BAS2IMG
to convert ASCII BASIC (PC-1500) files to binary images
Download :
Download the Executable
version of BIN2WAV (Ver. 1.30,
executable only)
Download the Complete
version of BIN2WAV (Ver. 1.30,
executable, sources, and GPL)
Don't hesitate to forward me any new version, in order to make it available to the community.
Norbert Roll wrote a Mac OSX version of BIN2WAV :
Download the Mac
OSX complete version of BIN2WAV (Ver. 1.31,
executable, sources, and GPL)
(download
the changelog and test file)
A Windows interface is available for BIN2WAV on Anton's site :-).
Compilation :
This software is written in Ansi C, compilable with any compiler (I have used an old Borland C version 3.1).
How to use it :
Use binary files produced by WAV2BIN to generate WAV audio files. You can plug your Sharp tape interface directly to your sound card LINE output (start your tests with a low volume, then adjust it if necessary).
In a DOS shell type :
BIN2WAV SrcFile DstFile T:type
PC:num [A:addr] [S:sync]
[N:name]
SrcFile |
Binary file (usualy produced by WAV2BIN). |
|
|
DstFile |
WAV format output file. |
|
|
type |
Source file type : |
|
- BIN Assembly
program or Datas binary file, |
|
|
num |
Destination ident number : |
|
1245, 1251, 1261,
1350, 1360, 1401, 1402, 1403, |
|
|
addr |
Start addresse for the binary files (option for T:BIN) |
|
- 0 to 65535 or 0x0000 to 0xFFFF (default value : 0) |
|
|
sync |
Synchro duration, expressed in seconds |
|
- 1 to 8 (default value : 2) |
|
|
name |
Sharp file name (7 characters max, 16 for the PC-1500) |
|
(default value : DstFile without extension, nor path) |
Detailled features :
- The parameter's order after SrcFile and DstFile
is not significant.
- Only T: and PC: parameters are
mandatory.
- For the PC-1500A and 1403H, use respectively PC:1500
and PC:1403.
- Underscore characters in the file name are
replaced by spaces.
WARNING : This software can't generate
WAV file from ASCII BASIC files.
You can use
BAS2IMG to convert ASCII BASIC (PC-1500) files to binary images
Thanks :
Thanks to Christophe LE GLATIN and Emmanuel BEAUREPAIRE for the debugging help.
Disclaimer :
I can't be involved in any damages consequently of the use of these software.