7
System commands
Files located in the /BIN directory are system commands.
These system commands can be executed from BASIC by typing: ".command <args>".
Each .command has 7.5K of RAM available and may call any ESXDOS syscall.
Commands can also exit to BASIC with a custom error message.
Most commands are self-explanatory or show onscreen help when run without arguments (or with the -h
parameter).
An example of the onscreen help:
.tapeout
tapeOUT v0.1 (c) phoenix
Usage: tapeout [args] [tapfile]
-c: Close file
-o: Overwrite file
.ls
Show directory listing
.cd somedir
Change directory
.tapein somefile.tap
Attach .tap file for reading
.tapeout somefile.tap
Attach .tap file for writing
.chmod +h somefile.sys
Set/unset attributes on file/dir
.mkdir newdir
Create a new directory
.mv oldname newname
Rename/move file/dir
.cp source target
Copy file
.more textfile
Display the contents of a textfile
New commands in v0.8.5:
.divideo (currently unsupported for the DivMMC EnJOY!)
.vdisk
.playwav
.dskprobe
.snapload
.gramon
.speakcz
TR-DOS emulator
Either use the NMI browser to attach/auto-LOAD .TRDs, or use the .vdisk command:
.vdisk unit <filename>
Unit 0 = Drive A, Unit 1 = Drive B, etc.
If you specify just the unit, it will eject the virtual drive.
You can use .dskprobe to check the contents of the vdisk.
Instructions on how to use TR-DOS are out of the scope of this document.
Note: TR-DOS emulation is not available in MapRAM mode (BETADISK.SYS will not be loaded)