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 ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
7.6.48 @KLTSK SVC-32<br />
This SVC will remove the task assignment from the task table and return <strong>to</strong> the foreground<br />
application that was interrupted when called by an executing task driver. See Chapter 8,<br />
the Appendix, section on TASK PROCESSING for detailed information.<br />
Registers Affected: Not applicable..<br />
7.6.49 @LOAD SVC-76<br />
This SVC will load a program file (a file in load module format).<br />
Registers Affected: AF, B, HL.<br />
Entry:<br />
DE FCB containing the filespec of the file <strong>to</strong> load.<br />
Exit:<br />
HL Will contain the program's transfer address if no error is detected during<br />
the load; otherwise it will contain the error return code.<br />
Z Set if the load was successful.<br />
7.6.50 @LOC SVC-63<br />
This SVC will calculate the current logical record number for the file referenced.<br />
Registers Affected: AF, BC.<br />
Entry:<br />
DE A pointer <strong>to</strong> the FCB for the file <strong>to</strong> check.<br />
Exit:<br />
BC Returns the current logical record number.<br />
A Error return code if an error is encountered.<br />
Z Set if the operation was successful.<br />
7.6.51 @LOF SVC-64<br />
This SVC will calculate the logical record number where an end-of-file (EOF) error would<br />
be encountered for the referenced file.<br />
Registers Affected: AF, BC.<br />
Entry:<br />
DE A pointer <strong>to</strong> the FCB for the file <strong>to</strong> check.<br />
Exit:<br />
BC Returns the EOF logical record number.<br />
A Error return code if an error is encountered.<br />
Z Set if the operation was successful.<br />
7.6.52 @LOGER SVC-11<br />
This SVC will issue a log message <strong>to</strong> the Job Log device (*JL). <strong>The</strong> "message" is any<br />
character string terminating with an (X'0D'). <strong>The</strong> current time string will be<br />
au<strong>to</strong>matically prefixed <strong>to</strong> the message.<br />
Registers Affected: AF, DE.<br />
Entry:<br />
HL A pointer <strong>to</strong> the message line <strong>to</strong> log.<br />
7-28