Note: AUX1 refers to the AUX switch on the left, AUX2 refers to the AUX switch on the right.
Access the Altair-Duino configuration screen
If you have a terminal connected, or your Altair-Duino is connected over USB to your computer, you should see the setting menu appear. This menu is the key to controlling how serial ports work, and also defining default actions when you power on. It’s worth spending time learing what options are available.
Reset default settings
If you get the system messed up by trying out too many options, you can do a “factory reset” of the settings. Either delete the SETTINGS.DAT file on the SD card (pop it into your desktop PC to do it), or as Chris Davis writes: “Follow these steps EXACTLY:
If that does not work unplug it and try step 1-7 again.”
Selecting a default disk to boot
It’s possible to set a shortcut to occur when AUX1 is toggled up once the computer is turned on. By detault this is “Kill the Bit”, which is great if you don’t have a terminal attached. If you do have a terminal, it would be much more convenient to start CP/M, right? Here’s how:
Storing and using default start settings
The Altair-Duino can save multiple settings (which store default serial ports, speed, programs to launch on AUX1 etc.) and you can select these at start-up. Here’s how.
This is a really convenient way to select different launch configurations, for different terminals or different software. You will probably need to add a sticky-note to the front terminal so you remember which settings, which is fine - all Altairs back in 1975 had notes stuck to them.
List the name of virtual disks
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
If you have added your own disk images, you should add their name to the DISKDIR.TXT file so it appears in the list.
Boot CP/M from floppy
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
In practice, booting CP/M from floppy works, but there isn’t a lot of free space on the virtual disk, and so it isn’t the most flexible or useful way to work. It’s much better to use an SD card with your Altair-Duino, and boot CP/M from a hard disk.
If you use this option a lot, you should have it is a default start setting (see above).
Boot CP/M from hard drive
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 |
Then toggle AUX1 to down (to boot the disk)
If you use this option a lot, you should have it is a default start setting (see above).
What to do if CP/M hangs
Sometimes something bad might happen, and your CP/M system might hang. The fix is easy: just toggle the RESET switch. Reset sets the program counter back to 0, and so it restarts CP/M. However, if something really, really bad happens you might have to reboot CP/M.
Mounting disks
Remember: you can use mount and unmount floppy or hard disks at any time - even in the middle of a CP/M session. It’s only simulating the physical act of adding or removing a disk from the disk drive.