Chapter 5 of 8
Choose what goes in the slot
A game cartridge could give you a title screen as soon as you switched on a Color Computer. Plug in a disk controller instead and you got a prompt. Both cartridges could contain a ROM: a chip holding instructions the computer could read as soon as power came on. The game ROM held a program. The controller’s ROM gave BASIC the words it needed to use a disk.
Read the four slots
Start in your saved Disk BASIC practice setup. Save anything you want to keep from guest RAM. Open Cartridge → Cartridges…. In the usual Multi-Pak setup, three slots are empty and Slot 4 says Floppy controller (FD-502). Its drive count refers to FD0 through FD3. All four drives connect to that one controller. In System view, the pictured FD-502 in the slot and the drives in the tower are two different places you can click.
Look at the Startup slot selector and the Live routing readout. Startup is the physical switch you would set before turning on a CoCo. The two live readings answer different questions. Which slot supplies cartridge ROM bytes now? Which slot is selected for device input and output? At the Disk BASIC prompt the usual answer to all three is slot 4. Write down those three numbers before the next experiment.
The Device menu on each row lets you assign a cartridge. Read the full menu item before choosing it: if the device is already in another slot, the menu tells you it will move. Selecting a different cartridge, startup slot or connection mode cold-restarts the machine. Resolve any unsaved media first. A cartridge change can leave the machine paused. The Mac toolbar’s Run resumes it.
A byte in a cartridge
Here is a way to use the second live reading. A 512 KB RAM-disk cartridge can hold a byte even while the disk controller’s ROM keeps BASIC running. Software talks to this board through numbered addresses. For this experiment, use Slot 1 → Device → RAM disk (512 KB) and keep the FD-502 in Slot 4 with Startup slot 4. Confirm the restart. If the illustrated desk gives way to conventional controls, use the Cartridges window. The hardware is still connected.
Resume the guest and click its screen. Finish any previous disk operation before you enter these commands. Enter one line at a time in this exact setup.
POKE &HFF7F,&H30
POKE &HFF40,0:POKE &HFF41,0:POKE &HFF42,0
POKE &HFF43,42
PRINT PEEK(&HFF43)
POKE &HFF7F,&H33
- Pause after the first line and look at Live routing. The ROM selection stays on slot 4. Device I/O moves to slot 1. The physical startup switch stays where you left it. This lets BASIC run from one slot while reaching the board in another.
- The second line selects location zero on the board. The third writes the number 42 there. The fourth reads that same location: BASIC should print 42 and return to OK. Here
POKEmeans write one byte andPEEKmeans read one. The prefix&Hintroduces a hexadecimal number. - The last line restores device I/O to slot 4. Do this before trying a disk command, even if you stopped midway. With a BASIC disk mounted in FD0 you can now issue
DIR 0again.
The RAM disk keeps its contents across a soft or cold reset. Removing its last assignment, loading a profile or quitting loses those contents. Use the owning program’s transfer or save feature to copy anything valuable onto persistent media first. A profile remembers the board assignment. The experiment writes a byte on the board; to keep it as a named file takes software that understands the device. Increasing Machine Settings → RAM gives the computer more main memory and serves a different purpose.
Try a cartridge that starts a program
If you have a CoCo program cartridge image such as a .ccc file, save your disk setup with Machine → Configuration Profiles… → Save Current As…. Save any guest program separately. In a free Multi-Pak slot choose Device → ROM Cartridge… and pick the file. Make that slot the Startup slot, confirm the restart and resume. The cartridge’s own opening screen is the checkpoint. A title that waits at a menu may already be running. Check the program’s own instructions for its first key. The Color Scripsit II exercise takes you all the way from its opening menu to typing in the editor.
Single cartridge models a cartridge plugged directly into the computer. Use its single assignment row. Multi-Pak gives you four rows and a selector. VCC Plus remembers the two layouts separately. If the System illustration cannot represent the selected hardware, its explanation directs you to the conventional controls. The same file choosers, device details and running guest are available there.
A missing ROM is a different problem from choosing the wrong startup slot. Open the affected slot and read its status. If you moved the file, choose its new location; if its volume was disconnected, reconnect it and retry the unavailable ROMs. See the handbook’s cartridge controls. Return to your saved practice profile when finished. Check that FD-502 is back in slot 4, FD0 has the expected disk, and the BASIC prompt responds. The copy you saved on that disk is ready to load again.