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.
CURSOR CHARACTER<br />
Registers Affected: AF, B.<br />
Entry:<br />
B 8; Change the cursor character.<br />
C Contains the new cursor character (or code value).<br />
Exit:<br />
A Will be returned with the current cursor value (for 6.0.1+).<br />
Z Set if the operation was successful.<br />
VIDEO LINE TRANSFER<br />
Registers Affected: AF, BC, DE, HL.<br />
Entry:<br />
B 9; Invoke line transfer<br />
C transfer direction; 0 = buffer <strong>to</strong> video, 1 = video <strong>to</strong> buffer.<br />
H video row <strong>to</strong> transfer (0-23).<br />
DE A pointer <strong>to</strong> the user's 80-character buffer.<br />
Exit:<br />
A Will contain the error code if an error was encountered.<br />
Z Set if the operation was successful.<br />
7.6.89 @VER SVC-73<br />
This SVC will perform a @WRITE operation followed by a test read of the sec<strong>to</strong>r (assuming<br />
that the WRITE required physical I/O) <strong>to</strong> verify that it will be readable. <strong>The</strong> test read<br />
will not cause data <strong>to</strong> be transferred <strong>to</strong> the file buffer.<br />
Registers Affected: AF.<br />
Entry:<br />
DE A pointer <strong>to</strong> the FCB for the file <strong>to</strong> verify.<br />
HL A pointer <strong>to</strong> the user record buffer (UREC) containing the logical record<br />
(where the LRL is 256).<br />
Exit:<br />
A Will contain an error return code if an error was encountered.<br />
Z Set if the operation was successful.<br />
7.6.90 @VRSEC SVC-50<br />
This SVC will pass a function 10 <strong>to</strong> a disk driver. <strong>The</strong> function should verify the<br />
readability of a sec<strong>to</strong>r without transferring any data from the disk <strong>to</strong> the buffer. See<br />
chapter 4 for additional information.<br />
Registers Affected: AF [Note: DOS saves BC, IY; drivers should save any other<br />
registers they use].<br />
Entry:<br />
C Contains the logical drive number.<br />
D Contain the cylinder number <strong>to</strong> verify.<br />
E Contains the sec<strong>to</strong>r number <strong>to</strong> verify.<br />
7-42