[Coco] Asm from PC to tape?

Robert Gault robert.gault at att.net
Sat Jun 17 21:10:02 EDT 2017


Russ Bernhardt wrote:
> I’m trying to figure out the right combo to get a binary compiled by CCASM to a WAV from cocotape.exe and I’m not having much luck…
>
> I have a simple “hello world” CoCo 6809 ASM from http://leto.net/code/asm/hw_assembler.php just to test the setup.
>
> I compile with: cm582 hello.asm -cloadm
> Then make a WAV with: cocotape hello.bin -bin -o=hello.wav
>
> A WAV is created but when I play it to my CoCo with CLOADM I get “COCO3COM” and a lot of gibberish, but no explicit error. “exec” does nothing…
>
> I’ve also tried “cm582 hello.asm -cloadm” but I get “Encountered 1431655765 errors”, though it does still produce a bin file. Using this results in the same as above.
>
> Any tips? I should add my goal is to learn ASM on the CoCo without an EDTASM+ cart (far too pricey on eBay) and without using drives/cart (also far too expensive) since I only have the tape loader.
>
> Thanks!
>
> -Russ
>

Russ,

I just ran a test with cm582 and it looks to me that the program has a bug. If you try the following:
cm582 hello.asm -l -cloadm
You will see the listing and most likely it is correct without errors. You will however, still get 
the error message.

I'd suggest (assuming you don't have RainbowIDE) that you move the hello.bin file to a .dsk image, 
LOADM"HELLO" using a real COCO or emulator, and then CSAVEM"HELLO" using the required start, end, 
and execute addresses to get the cassette version.

Of course you don't need to use cm582.exe on a PC. You could just used EDTASM+ on an emulator (cart 
or disk version). Once your code is assembled correctly, you can save it to a .bin or .cas/.wav file.

Robert



More information about the Coco mailing list