7
DOT commands
Files located in the /BIN directory are so-called DOT commands.
These system commands can be executed from BASIC by typing: ".[command] <args>".
DOT commands are self-explanatory: enter the command without arguments to get more information.
An example, entering:
.tapeout
Will show:
tapeOUT v0.1 (c) phoenix
Usage: tapeout [args] [tapfile]
-c: Close file
-o: Overwrite file
For developers: each DOT command has 7.5K of RAM available and may call any ESXDOS syscall.
Commands can also exit to BASIC with a custom error message.
.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 ESXDOS 0.8.5:
New commands in ESXDOS 0.8.6:
New commands in ESXDOS 0.8.7:
.vdisk
.playwav
.dskprobe
.snapload
.gramon
.speakcz
.playtfm
.playpt3
.ls
.tapein
.tapeout
.partinfo
.launcher
.rm
.hexview
.drives
.mktrd
.128
.dfwload
.more
.dumpmem
.sercp
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.