0 INITIO Initializes all I/O drivers 1 KBINIT Clears stored keystrokes 2 SETUSR Sets up a user-defined SVC 3 SETBRK Sets up a BREAK key processing program 4 KBCHAR Gets a character from keyboard 5 KBLINE Gets a line from keyboard 6 DELAY Provides a delay-loop 7 VDINIT Initializes Display 8 VDCHAR Sends a character, scroll mode 9 VDLINE Send a line, scroll mode 10 VDGRAF Sends a character, Graphics Mode 11 VDREAD Reads characters, Graphics Mode 12 VIDKEY Display message and get line from KB *ES 13 FSINIT Floppy subsystem initialization *ES 14 FSREAD Floppy Sector Read 15 DISKID Reads a diskette ID *ES 16 FSWRIT Floppy Sector Write 17 PRINIT Initializes the Line Printer Driver 18 PRCHAR Send a character to the Line Printer 19 PRLINE Sends a line to the Line Printer 20 RANDOM Provides a random number, range [0,254] 21 BINDEC Converts binary to ASCII-coded decimal, and vice-versa 22 STCMP Compares two text strings 23 MPYDIV Performs 8 bit * 16 bit multiplication and 16 bit / 8 bit division 24 BINHEX Converts binary to ASCII-coded hexadecimal, and vice-versa 25 TIMER Set timer to interrupt program 26 CURSOR Turns cursor on or off (blinking) 27 SCROLL Sets number of lines at top of display which are not scrolled *80 28 LOOKUP Searches through table *80 29 HLDKEY Suspends and restarts terminal output whenever you press HOLD *82 30 KBPUT Put a character in the keyboard type-ahead buffer *82 32 RDDIR Reads one directory entry with optional wildcard mask 33 LOCATE Returns the current record number 34 READNX Gets next record (Sequential Access) 35 DIRRD Reads specified record (Direct Access) 36 JP2DOS Returns to TRSDOS (TRSDOS READY) 37 DOSCMD Sends TRSDOS a command and then returns to TRSDOS READY 38 RETCMD Sends TRSDOS a command and return to caller 39 ERROR Displays "ERROR number" 40 OPEN Sets up access to new or existing file 41 KILL Deletes the file from the directory 42 CLOSE Terminates access to an Open file 43 WRITNX Writes next record (Sequential` Access) 44 DIRWR Writes specified record (Direct Access) 45 DATE Sets or returns the time and date *82 46 PARSER Finds the alphanumeric parameter field in a text string *80 47 RENAME Renames a file 48 PARSER Finds the alphanumeric parameter field in a text string *82 48 REWIND Rewinds a disk file 49 STSCAN Looks for a specific string inside a text buffer *80 51 WILD Compares a file specification with a wildcard specification 52 ERRMSG Returns Error Message to Buffer *80 53 RAMDIR Gets directory information into RAM 55 RS232C Set or turn off channel A or B for serial input/output *80 56 SORT Sorts a list in RAM *80 57 CLRXIT Clears RAM and returns to TRSDOS-II *80 58 FILPTR Gets the pointers of an open file *82 59 DIRSET Sets up 8-byte memory block for RDDIR *82 60 SOUND Turns on a single tone *80 94 VIDRAM Copies a screenful of graphics and/or text from a RAM buffer to the display, and vice versa *80 95 PRCTRL Controls printer operations 96 ARCV Channel A receive 97 ATX Channel A transmit 98 BRCV Channel B receive 99 BTX Channel B transmit *80 100 ACTRL Control Channel A *80 101 BCTRL Control Channel B *16 129 RESET Same as pressing the RESET switch *16 130 DUMP writes a 68000 format program file from 68000 memory. *16 131 LOAD Loads a 68000-format program into the user memory. *16 133 CLOSEF Terminates output to all open files except OPENDO file *16 136 UNLOCK Unlocks a specified record *16 137 VERSION Get version of Operating System *16 138 MOUNT Logically connects a disk device *16 139 DISMOUNT Logically disconnect a MOUNTed disk device *16 140 OPENDO Opens and creates a special file not closed by CLOSEF *16 257 CLRXIT Clear user memory and jump to TRSDOS-16 Ready *16 259 DEBUG Load the Debugger *16 263 EXECUTE Execute program. *16 264 JP2DOS Jump to TRSDOS-16 Ready. *16 266 SETTRP Set or remove trap vectors *16 267 MOVBUF Retrieves and stores an 80-byte buffer *16 269 SETBRK Enable / Disable the BREAK key *16 270 DOSCMD Execute TRSDOS-16 command and return to TRSDOS-16 Ready based on TRSDOS 1.2 (1979) *80 TRSDOS 2.0 (1980) *82 TRSDOS 2.0 (1982) TRSDOS-II REFERENCE MANUAL & MODEL II OWNER'S MANUAL SUPPLEMENT *16 TRSDOS-16 (1982) *ES Found by Eric Smith during disassembly of TRSDOS 1.2