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.

@CMNDR SVC-25 Execute a command and return<br />

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

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

@CKTSK SVC-28 Check task slot availability<br />

@ADTSK SVC-29 Add a task process<br />

@RMTSK SVC-30 Remove a task assignment<br />

@RPTSK SVC-31 Replace a task assignment during execution<br />

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

@CKDRV SVC-33 Check disk drive availability (& log)<br />

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

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

rsvd SVC-36 reserved<br />

rsvd SVC-37 reserved<br />

rsvd SVC-38 reserved<br />

rsvd SVC-39 reserved<br />

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

@SLCT SVC-41 Select a disk drive<br />

@DCINIT SVC-42 Initialize a disk controller<br />

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

@RSTOR SVC-44 Res<strong>to</strong>re a drive <strong>to</strong> cylinder 0<br />

@STEPI SVC-45 Issue track step-in <strong>to</strong> controller<br />

@SEEK SVC-46 Seek <strong>to</strong> a disk cylinder<br />

@RSLCT SVC-47 Reselect a busy drive until available<br />

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

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

@VRSEC SVC-50 Verify the readability of a disk sec<strong>to</strong>r<br />

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

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

@WRSEC SVC-53 Write a disk sec<strong>to</strong>r<br />

@WRSSC SVC-54 Write a disk direc<strong>to</strong>ry sec<strong>to</strong>r<br />

@WRTRK SVC-55 Write a disk track (format data)<br />

@RENAM SVC-56 Rename a file on disk<br />

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

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

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

@CLOSE SVC-60 Close an open disk file<br />

@BKSP SVC-61 File record backspace<br />

@CKEOF SVC-62 Check for file's end-of-file (EOF)<br />

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

@LOF SVC-64 Return file's ending record number<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 />

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

@REW SVC-68 Rewind a file <strong>to</strong> its beginning<br />

@RREAD SVC-69 Reread the last sec<strong>to</strong>r read<br />

@RWRIT SVC-70 Rewrite the last sec<strong>to</strong>r written<br />

@SEEKSC SVC-71 Seek a record of a file<br />

@SKIP SVC-72 Skip the next record of a file<br />

@VER SVC-73 Write then verify a file record<br />

@WEOF SVC-74 Direc<strong>to</strong>ry update a file's end-of-file<br />

@WRITE SVC-75 Write a file record<br />

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

@RUN SVC-77 Run a program given its filespec<br />

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

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

7-5

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

Saved successfully!

Ooh no, something went wrong!