| Logical Device |
Device Name |
Port (Octal) |
Port (Hex) |
Interrupt Level |
| Console Terminal |
TT: |
350-357 |
E8-EF |
3 |
| Line Printer |
LP: |
340-347 |
E0-E7 |
|
| Alternate Terminal |
AT: |
320-327 |
D0-D7 |
|
| 5.25" Floppy |
SY:, DK: |
174-177 |
7C-7F |
|
| 8" Floppy |
SY:, DK: |
170-173 |
78-7B |
5 |
| Reserved |
|
376-377 |
FE-FF |
|
| Reserved |
|
360-361 |
F0-F1 |
|
HDOS device names for system drives are SY0:, SY1:, and SY2:; alternate drives are DK0:, DK1:, and DK2:. Whether a drive is considered a system or alternate drive depends on how the controller it's attached to is configured.
The boot drive is SY0: and the drive name can be omitted for files stored on that drive. Unlike CP/M or DOS, it's not possible to change the default drive, so files on any other drive have to be qualified with the device name.
Similar to CP/M and DOS, files are limited to 8 characters with a 3 character extension.
Displays the following help:
| Command |
Description |
| HELP |
Print This List |
| BYE |
Dismount all Mounted Disks, and Reboot |
| CAT [DEV:] |
List Files on Disk |
| COPY TO=FROM |
Copy FROM file to TO |
| DATE [NEWDATE] |
Display or Set Date |
| DELETE FNAME |
Delete File(s) |
| DISMOUNT DEV: |
Dismount Volume from Drive |
| PIP |
Execute PIP |
| MOUNT DEV: |
Mount Volume on Device |
| RENAME TO=FROM |
Rename File FROM to TO |
| RUN FNAME |
Run Program |
| SET dev: opt |
Select Option for Device |
| SET HELP |
Documentation for SET Command |
| STATUS |
Display Disk Statistics |
| TYPE FNAME |
Type file contents on terminal |
| VER |
Display the Current Version of HDOS |
| FNAME |
Same as RUN SY0:FNAME.ABS |
Disks must be mounted with the MOUNT command before use. The command takes the device name of the drive as a parameter (SY0:-SY2: or DK0:-DK2:)
MOUNT DVn:
HDOS keeps parts of the directory for mounted disks in memory. To ensure that any changes to the directory are written to disk, the UNMOUNT command must be run before removing the disk or turning off the system:
UNMOUNT DVn:
The BYE command dismounts all mounted drives so the system can be shutdown or rebooted.
From Mark Garlanger via SEBHC mailing list:
By default HDOS assumes the worst (that the terminal does not support lower case or backspace). If the letters you are seeing are upper-case, then that would be the issue, in graphics mode, only the lower-case letters are graphic symbols. So you will need to enter a few set commands on the command-line.
set tt: bks
set tt: nomlo
set tt: nomli
First one lets the backspace work. The second 2 are to prevent mapping lower case to upper on output and input respectively. It seems like only one is needed, but I don't remember which and for completeness, I always do both. The emulator should auto save the disks you are using to something like "saveA.tmpDisk" (not positive on what extension I had set in the latest github version). But that is just a raw image, which the emulator supports, so you can rename your configured HDOS disk to hdos.h17raw, then update the emulator configure file to use it. Then you won't have to do the changes every time you boot.
Another thing I usually do is to set the floppy drives to 6ms to speed it up slightly. You can do that with set sy0: step 6 and repeat for the other drives. Being a virtual drive, it could even be 0, but HDOS has a lower limit of 6.