This is a cache of https://vccplus.brianholman.com/manuals/programming-in-coco-basic/pack-the-voyage/. It is a snapshot of the page as it appeared on 2026-11-21T00:00:54.334+0000.
Take the voyage to another machine · Programming in CoCo BASIC on the Color Computer 3 · VCC Plus
← Manual LibraryVCC Plus 3.7.1 · Reading on the web

Try the exercises in VCC Plus. Example links download files here; open them in the app to work beside the emulator.

The complete book · PDF editionBook 3: Programming in CoCo BASIC on the Color Computer 3

79 pages · VCC Plus 3.7.1 · Keep a copy to read or print.

Download PDF
Contents

Chapter 11 of 12

Take the voyage to another machine

A friend at a BASIC prompt cannot tell the CoCo to open a Mac editor window. Give the friend a disk with a real BASIC program inside, and an instruction they can type. This chapter also makes a tape for the trip. Start in Disk BASIC with your work saved.

Put VOYAGE on a disk

  1. In Develop → BASIC Development…, open VOYAGE.bas. Beside Save, open More file actions (the button with three dots) and choose Export Disk….
  2. Use VOYAGE for the CoCo program name. For the first disk, leave Install DOS bootloader clear. Save the Mac image as VOYAGE.dsk in a practice folder. This operation makes a disk carrying your program. It does not insert the disk for you.
  3. In Media → Floppy Disks…, insert that new image in FD0, or replace your practice disk with it. This is a fresh working export. Enable writing if you want to land and keep a log on this disk. Check for Saves automatically. If paused, resume the machine.
  4. At the CoCo prompt type each of the following on its own line. Press Return after each command.
DIR
LOAD"VOYAGE"
RUN

The directory shows VOYAGE as a BASIC program. LOAD copies it into RAM. RUN reaches FLIGHT DECK. Choose 2, press Return, then tap A on the landing chart. Wait for LOG SAVED FOR MARS. Now the exported disk has a program and the data file that the trip just wrote.

A shorter invitation. Export a second disk from the same source and use the same CoCo name, VOYAGE. This time check Install DOS bootloader and give the Mac image a distinct name such as VOYAGE-BOOT.dsk. Insert it in FD0 in Disk BASIC. At the prompt type DOS and press Return. The loader on this particular disk starts VOYAGE and takes you to the same choice of planets. The full route, LOAD"VOYAGE" followed by RUN, also names the program you want. A plain Disk BASIC data disk needs no startup loader.

Send the program by cassette

Return to the VOYAGE source in the editor. Choose More file actions → Export Cassette…, set the CoCo name to VOYAGE, and save the Mac file as VOYAGE.cas. Keep a writable practice floppy in FD0: the program travels on tape, but its own OPEN command still sends the flight log to a disk.

Open the new cassette image in Media → Cassette…, rewind to the beginning, and choose Play. At a running BASIC prompt, type the first command below and press Return. Wait for the program to load and BASIC to return to its prompt before typing the second.

CLOAD"VOYAGE"
RUN

The recorder advances while BASIC runs its motor. The game reaches FLIGHT DECK from tape. Choose Mars and land to write the log on your practice floppy. If you try again, rewind the tape first. You can open LOGBOOK from the editor to read the result from FD0. A cassette holds its entries in sequence, so this time there is no floppy-style directory step.

Know which drive answered

The first two recipes used Disk BASIC and an ordinary floppy. Keep that setup if you are following the book straight through. The other BASIC profiles can run VOYAGE, too. Use disposable copies for these optional trips and keep your current Mac source saved before switching machines.

Hard Drive BASIC. RGB-DOS normally directs a request for drive zero to a hard-disk volume. Attach a writable copy of the exported floppy in FD0. At the prompt enter the following lines separately.

DRIVE OFF
DIR 0
LOAD"VOYAGE:0"
RUN

DRIVE OFF exposes the floppy for this route. Make sure DIR lists VOYAGE before running it. Leave floppy routing in effect through the landing and any LOGBOOK read, since their data file also ends in :0. When finished, use DRIVE ON and then DIR 0 to see your hard-disk volume again. Do this switch at the prompt after the file has closed.

CoCo SDC. Its SD card is a Mac folder containing disk images. Put a disposable VOYAGE.DSK in the root of a working card folder. In the SDC cartridge details you can show the folder in Finder or choose a different one. To land and write the flight log, the working folder and image need to be writable and Protect SD card files (read-only) must be off. Preserve the original export. At the SDC-DOS prompt enter each line separately.

DRIVE 0,"/VOYAGE.DSK"
DIR 0
LOAD"VOYAGE:0"
RUN

The slash begins at the top of the card folder. The first line mounts a whole image on SDC0. The third line asks BASIC for one program inside that image. Leave it mounted through the landing and LOGBOOK read. Restore your usual card, mount and protection afterward. Which drive zero? shows the controls and the starter mounts.

Pack a note with the exported disk. A friend needs the intended BASIC setup, the filename inside the disk, the command to start it, and permission to use a working copy for the new log. Those four details tell them much more than a Finder filename alone.

Original VCC Plus manuals © 2026 Brian K. Holman. Third-party references retain their authors’ copyrights and licenses. Artwork notices. Edition 3.7.1; source and export identity. Printable edition: PDF source and export identity.

A closer look

Open original