Epson PX-8 User Manual page 125

Hide thumbs Also See for PX-8:
Table of Contents

Advertisement

"@:"A:I~I
Entry Point: WBOOT
+
54H
This is not supported.
It
will simply RETURN.
MASKI is the entry point for the subroutine which sets and resets interrupt
masks.
Entry Point: WBOOT
+
57H
Entry parameters
Register B = OOH Interrupt disable
B = 01H Interrupt enable
B
~
2 Interrupt enable register (IER) read
Register C Bit 0 - 7508
C Bit 1 - 8251
C Bit 2 - DCD
C Bit 3 - ICF
C Bit 4 - OVF
C Bit 5 - EXT
Return Parameters
(RS-232C carrier detect)
(Input capture flag)
(Timer overflow)
(Interrupt from system bus)
Register A = Contents of IER register
(110
port 4)
ADCVRT is the entry point for the subroutine which reads the AID converter
input, Bar Code reader, DIP switch settings, battery voltage, or power switch
status.
Entry Point: WBOOT
+
6F
Entry parameters
RegisterC = OOH - AID channel 1 (input from the analog jack)
RegisterC = 01H - AID channel 2 (input from the bar code reader con-
nector)
RegisterC=02H - DIP SWI
RegisterC = 03H - Battery voltage
RegisterC = 04H - Power switch status (TRIG status of the analog con-
nector)
5-34
When any other value is set in register C, the routine returns without doing
anything.
Return Parameters
When Register C contains OOH or 01H on calling ADCVRT
Register A contains AID converter data in the 6 MSB as follows:
Bit
7
6
5
4
3
2
1
0
Data MSB
LSB
Bits 2 to 7 will all be 1 if the input voltage is greater than 2.0 V. If the input
voltage is negative, bits 2 to 7 will all be
o.
When Register C contains 2 on calling ADCVRT
Register A contains contains the Switch information as follows.
Bit
7
6
5
4
3
2
1
0
SW
8
7
6
5
4
3
2
1
When Register C contains 3 on calling ADCVRT
Register A contains data from the AID converter
Full scale = 5.7 V
When register C contains 4 on calling ADCVRT
Register A, bit 0 = 1 - Power switch ON
Register A, bit 0 = 0 - Power switch OFF
Register A, bit 1 = 1 - TRIG ON
Register A, bit 1 = 0 - TRIG OFF
5-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents