TIMEX OPERATING SYSTEM (TOS) TOS is the operating system of the Timex FDD and FDD-3000 Systems. This is a brief listing of the TOS commands and their meanings. Arguments in square brackets ([]) are optional. <> are used to represent a disk name/number file/ or pathname. ATTR * Syntax: ATTR * pathname P or U or I or V P = Protect U = Unprotect I = hides file (invisible) V = unveils file (visible) CAT * Syntax: CAT * [pathname] Without the pathname, this displays information on files defined in the current directory. CLOSE *x Syntax: CLOSE *x expression Closes the open file linked to the channel number given by the expression. MOVE * Syntax: MOVE * source-pathname TO destination-pathname Copies a file or SCP (Serial Communication Port (RS-232)) to another file or SCP. DIM * Syntax: DIM * pathname Creates file or directory specified by the pathname. ERASE * Syntax: ERASE * pathname [N] Erases files. FORMAT * (disk) Syntax: FORMAT * drive-name TO disk-name Formats disk currently inserted in drive specified. Destroys all files contained on the disk. FORMAT * (SCP) Syntax: FORMAT * SCP-pathname If the string expression is a pathname designating a SCP, you can change the configuration of that SCP. GO SUB * Syntax: GO SUB * [pathname] or GO SUB *"drivename"d Saves the current directory in a special stack known as the "directory stack". Used in conjunction with DRAW * as an easy way of returning to the original directory. GO TO * Syntax: GO TO * pathname or GO TO *"drivename"d Saves the current directory to the one designated by pathname. INPUT * Syntax: INPUT *#n; VAR$ [;AT p] Reads a character or group of characters from a file or SCP via a channel. LIST * Syntax: LIST * Lists information on the current directory and on all directories stored in the stack. LIST *# Syntax: LIST *# [channel number] List information of the corresponding channel (if given), otherwise lists information on all open channels. LOAD * Syntax: LOAD * pathname load-option Very similar to the equivalent in Spectrum or Timex superset BASIC. The LOAD options are the same. The pathname can represent a SCP allowing you to receive BASIC programs (or code) directly from another computer. MERGE * Syntax: MERGE * pathname Merges a disk BASIC program to a program already existing in the computer memory. LET * Syntax: LET * old-pathname TO new-pathname Renames a file, directory, or SCP. OPEN #* Syntax: OPEN #* expression 1;pathname;mode[expression 2] Opens a file or SCP and associates a channel with it. PRINT * Syntax: PRINT *#n;STR$; [;AT P] Writes characters or groups or characters to a file or SCP via a channel. DRAW * Syntax: DRAW * Used in conjunction with GO SUB * to retrieve directory information from the directory stack. SAVE * Syntax: SAVE * pathname save-option [n] Similar to Spectrum and Timex superset BASIC. The options are the same.