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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

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

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

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

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

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

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

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

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

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

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

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

@SOUND SVC-104 Activate hardware sound generation<br />

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

@TIME SVC-19 Obtain the system time<br />

@VDCTL SVC-15 Various video control functions<br />

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

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

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

@WHERE SVC-07 Resolve run-time address<br />

@WRITE SVC-75 Write a file record<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 />

7.4 SUPERVISOR CALLS LISTED NUMERICALLY<br />

Name Svc # Purpose<br />

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

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

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

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

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

@CTL SVC-05 Control a device chain<br />

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

@WHERE SVC-07 Resolve run-time address<br />

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

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

@DSPLY SVC-10 Line output <strong>to</strong> *DO (video display)<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 />

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

@VDCTL SVC-15 Various video control functions<br />

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

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

@DATE SVC-18 Obtain system date<br />

@TIME SVC-19 Obtain the system time<br />

@CHNIO SVC-20 Device chain character I/O<br />

@ABORT SVC-21 Abnormal program exit<br />

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

rsvd SVC-23 reserved<br />

@CMNDI SVC-24 Interpret and execute a command<br />

7-4

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

Saved successfully!

Ooh no, something went wrong!