29.12.2012 Views

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

@DCRES SVC-43 Reset a disk controller<br />

@DCSTAT SVC-40 Test disk controller status<br />

@DEBUG SVC-27 Enter system DEBUG package<br />

@DECHEX SVC-96 Convert decimal string <strong>to</strong> binary<br />

@DIRRD SVC-87 Read a DEC's direc<strong>to</strong>ry record<br />

@DIRWR SVC-88 Write a DEC's direc<strong>to</strong>ry record<br />

@DIV16 SVC-94 16-bit by 8-bit unsigned division<br />

@DIV8 SVC-93 8-bit by 8-bit unsigned division<br />

@DODIR SVC-34 Obtain or display direc<strong>to</strong>ry data<br />

@DSP SVC-02 Character output <strong>to</strong> *DO (video display)<br />

@DSPLY SVC-10 Line output <strong>to</strong> *DO (video display)<br />

@ERROR SVC-26 Post an error message<br />

@EXIT SVC-22 Exit program with return code<br />

@FEXT SVC-79 Fetch a default file extension<br />

@FLAGS$ SVC-101 Obtain system flags pointer<br />

@FNAME SVC-80 Obtain filespec given DEC and drive<br />

@FSPEC SVC-78 Fetch and parse a file specification<br />

@GET SVC-03 Character input from a device/file<br />

@GTDCB SVC-82 Obtain DCB pointer given devspec<br />

@GTDCT SVC-81 Obtain DCT pointer given drive<br />

@GTMOD SVC-83 Obtain entry point given module name<br />

@HDFMT SVC-52 Pass "format device" <strong>to</strong> controller<br />

@HEX16 SVC-99 Convert 16-bit binary <strong>to</strong> ASCII hex<br />

@HEX8 SVC-98 Convert 8-bit binary <strong>to</strong> ASCII hex<br />

@HEXDEC SVC-97 Convert 16-bit binary <strong>to</strong> ASCII decimal<br />

@HIGH$ SVC-100 Obtain or alter HIGH$/LOW$<br />

@INIT SVC-58 Open a new or existing file<br />

@IPL SVC-00 Reboot the system<br />

@KBD SVC-08 Scan the *KI device<br />

@KEY SVC-01 Obtain a character from the *KI device<br />

@KEYIN SVC-09 Obtain a line of characters from *KI (or JCL)<br />

@KLTSK SVC-32 Remove task assignment during execution<br />

@LOAD SVC-76 Load a program file<br />

@LOC SVC-63 Return file's current record number<br />

@LOF SVC-64 Return file's ending record number<br />

@LOGER SVC-11 Send a message <strong>to</strong> the Job Log (*JL)<br />

@LOGOT SVC-12 Display and log a message (*DO and *JL)<br />

@MSG SVC-13 Send a message line <strong>to</strong> a device<br />

@MUL16 SVC-91 16-bit by 8-bit in<strong>to</strong> 24-bit multiplication<br />

@MUL8 SVC-90 8-bit by 8-bit in<strong>to</strong> 8-bit multiplication<br />

@OPEN SVC-59 Open an existing file<br />

@PARAM SVC-17 Parse a command line of parameters<br />

@PAUSE SVC-16 Delay execution for a time period<br />

@PEOF SVC-65 Position <strong>to</strong> the end of a file<br />

@POSN SVC-66 Position <strong>to</strong> a designated record of a file<br />

@PRINT SVC-14 Send a message line <strong>to</strong> *PR device<br />

@PRT SVC-06 Send a character <strong>to</strong> *PR device<br />

@PUT SVC-04 Send a character <strong>to</strong> a device/file<br />

@RAMDIR SVC-35 Obtain direc<strong>to</strong>ry information<br />

@RDHDR SVC-48 Read ID field (where supported)<br />

@RDSEC SVC-49 Read a disk sec<strong>to</strong>r<br />

@RDSSC SVC-85 Read a disk's direc<strong>to</strong>ry sec<strong>to</strong>r<br />

@RDTRK SVC-51 Read a disk track (where supported)<br />

@READ SVC-67 Read a file record<br />

@REMOV SVC-57 Remove a file from disk<br />

7-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!