Tandy 1000 HX Technical Reference Manual page 407

Table of Contents

Advertisement

Get Current Printer Status
Read the printer status into AH.
Entry Conditions:
AH = 2
Exit Conditions:
DX = printer to be used (0-2)
AH = printer status, as follows (set = true):
bit 0 = timeout occurred
bit 1 = [unused]
bit 2 = [unused]
bit 3 = I/O error
bit 4 = selected
bit 5 = out of paper
bit 6 = acknowledge
bit 7 = not busy
System Clock
These routines provide methods of reading and setting the clock
maintained by the system. This device is labeled CLOCK in the
device list of the operating system. An interface for setting the
multiplexer for audio source is also provided.
Software Interrupts:
1A hex (26 dec)
Function S u m m a r y :
AH = 0:
Get Time of Day
AH = 1:
Set Time Of Day
AH = 80H: Set Up Sound Multiplexer
The clock runs at the rate of 1,193,180/65,536 per second (about
18.2 times per second).
Function Descriptions:
Get Time Of Day
Get (read) the time of day in binary format.
Entry Conditions:
AH = 0
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents