[Coco] CocoTape

Robert Gault robert.gault at worldnet.att.net
Sun Jan 11 08:26:33 EST 2009


Roger,

Here is a test of the cocotape.exe version inadvertently posted to 
Maltedmedia.

I used a short ml program of 639 bytes, multiple origins ($DF6, $FA50, 
$FB47, $FED0), and an execution address of $FC4F. Cocotape was tried 
with both default parameters, -data, and -d -g. The results were not 
what I expected.

cocotape swread.bin -data
or
cocotape swread.bin

COCOTAPE - TRS-80 Color Computer Cassette File Audio Generator (1.0)

Converts a PC-stored file into a CoCo-Tape-File audio stream
Copyright (C) 2009 by Roger Taylor
All Rights Reserved - CoCo3.com

single-segment contiguous binary
Load address: $0DF6
EXEC address $FAF6
Streaming the audio now...

Only the header came through the audio system.

========
cocotape swread.bin -b -g

COCOTAPE - TRS-80 Color Computer Cassette File Audio Generator (1.0)

Converts a PC-stored file into a CoCo-Tape-File audio stream
Copyright (C) 2009 by Roger Taylor
All Rights Reserved - CoCo3.com

multi-segment binary program
Streaming the audio now...

This time the audio sounded normal for a multi-segment file.

==========
cocotape swread.bin -o=swread.wav -g

COCOTAPE - TRS-80 Color Computer Cassette File Audio Generator (1.0)

Converts a PC-stored file into a CoCo-Tape-File audio stream
Copyright (C) 2009 by Roger Taylor
All Rights Reserved - CoCo3.com

Creating WAVE file for multi-segment binary program

The wav file was created and no audio was generated.
================

COCOTAPE - TRS-80 Color Computer Cassette File Audio Generator (1.0)

Converts a PC-stored file into a CoCo-Tape-File audio stream
Copyright (C) 2009 by Roger Taylor
All Rights Reserved - CoCo3.com

useage: cocotape SourceFile -option1 -option2
    SourceFile = ASCII BASIC, token BASIC, binary, data, text, etc.

file formats:

    -a (ASCII data)
    -b (Binary data)
    -g (force Gapped blocks, and multi-segment Machine Language)
    -c (force Contiguous blocks)
    -2 (produce a double-speed audio stream)

    -csave (Tokenized BASIC program)
    -csavea (ASCII BASIC program)
 >  -cloadm, -csavem, -ml, -bin, -binary (Machine Language)
       {use -g for multi-origin files}
    -data (General data)
       {automatically invokes -b -g}
    -text (General data)
       {automatically invokes -a -g}

    -o=WaveFile (save the audio stream to a PC .wav file)
    -f (do not play the audio stream) {default if WaveFile is specified}
    -p (play the audio stream) {default if WaveFile is not specified}

Based on the above -data should generate multi-segmented files but it is 
not. There is no indication that -g should automatically generate binary 
files, although that does seem sensible.

==========

Now the punch line. The audio file was played into a Coco3 via the 
cassette port. What did I get, an ad from coco3.com!
By golly ... It works!!
It works!! .. By golly

What a let down  :)

Aside from advertising priorities, this really is not a test of the 
program as the intended file was not sent.



More information about the Coco mailing list