This is a cache of https://vccplus.brianholman.com/manuals/back-at-the-coco/bring-up-a-disk/. It is a snapshot of the page as it appeared on 2026-11-21T00:00:39.817+0000.
Bring up a disk you remember · Back at the CoCo · 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 2: Back at the CoCo

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

Download PDF
Contents

Chapter 2 of 6

Bring up a disk you remember

On the label outside the disk it says Port Zero. In the CoCo's directory it says PORT. Which name do you type after LOAD? By the end of this trip you'll have greeted three different visitors with the same five-line program, and the disk will still be just as you found it.

Put the practice disk in FD0

Start in Disk BASIC. Save any program in RAM you want to keep, since loading PORT will replace it. Save a working copy of Port Zero.dsk in a folder you can find again in Finder. For a disk from your own collection, duplicate the image in Finder first and put the original aside.

  1. Open Media → Floppy Disks…. Find FD0, the first drive. Choose Replace… if a disk is already there, or Insert… if the drive is empty. Choose your working copy in the Mac file picker. If a pending change needs attention, save it before replacing the disk.
  2. Read the filename beside FD0. Open Disk options on that row and turn on Write protected. This lets the CoCo read the disk and makes the drive refuse writes. Leave the separate Temporary changes setting alone for this exercise.
  3. If the footer reads Paused, click Run there. Return to the emulator and press Option-Command-K to type at the CoCo.
FD0 holds Port Zero.dsk. Its status says Write protected, the matching box is checked, and Run is available at the bottom because the CoCo is paused.

Type DIR at OK and press Return. Find PORT with BAS beside it. The drive holds a whole disk in one Mac file. BASIC just showed you a program inside that file.

Two ways to run PORT

First, use the floppy. Type LOAD"PORT" and press Return. When BASIC comes back with OK, type RUN and press Return. The display switches to 40 columns. Port Zero asks for your call sign. Type ACE and press Return. Look for this reply:

GOOD TO HAVE YOU ABOARD, ACE!
The live CoCo in Display view greets ACE and returns to OK. The status bar still names Port Zero.dsk in FD0.

Try a write on this protected practice disk. At OK, type SAVE"LOG". The expected reply is ?WP ERROR. That is the drive doing its job. The program you loaded is still in RAM. Type RUN again and use SKY for your call sign. The greeting changes to SKY. You have run the program twice and kept the original disk intact.

Now take the Mac route. Leave the practice disk protected. At OK, type NEW and press Return to clear the practice program from RAM. Open PORT.bas in Develop → BASIC Development…. If your browser shows the five lines as plain text, you already have the source. In the editor choose Open… and select PORT.bas in this book’s examples folder, or use a copy you saved in Downloads. Here is its whole source:

10 WIDTH 40
20 PRINT "WELCOME BACK TO PORT ZERO."
30 INPUT "CALL SIGN";N$
40 PRINT "GOOD TO HAVE YOU ABOARD, ";N$;"!"
50 END

Line 10 asks for the wider screen. Line 30 waits for the call sign and keeps it in the string variable N$. Click Run in the BASIC Development window. In the CoCo display, type NOVA at the call-sign prompt and press Return. This time the editor put the program directly into CoCo RAM. You reached Port Zero without reading FD0.

Find the copy that matters

Where to look What you have When you'd use it
The FD0 row in Floppy Disks Port Zero.dsk, a whole disk image on the Mac To mount the disk or make a copy in Finder
DIR inside the CoCo PORT BAS, one BASIC program on that disk To bring it into RAM with LOAD"PORT"
BASIC Development on the Mac PORT.bas, the five numbered lines as editable text To change the source and send it to the CoCo with Run

That last greeting, NOVA, came from the program in RAM. Saving the editable Mac source and saving a program on the guest disk are two different operations. Keeping FD0 protected lets you experiment with the editor while preserving the floppy.

Want to catch the program at a particular line? Try Catch the computer in the act in the first book. You can also reach the C and Assembly workspaces from Develop. If your next stop is a disk of your own, go straight to Visit a disk and come home.

Color Computer Disk BASIC Quick Reference Guide. InterTAN Canada Ltd., 1987, pp. 3–9. Directory, load and save commands, and disk errors.

Trace the Mac source and the program in guest RAM.

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