Epson PX-8 User Manual page 119

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

Advertisement

RSINST is the entry point for the subroutine which checks whether any charac-
ters have been received.
Return Parameters
Register A
OOH No data received
Register A
=
FFH Data received
Entry Point: WBOOT
+
42H
RSOUTST is the entry point for the subroutine which checks whether trans-
mission is enabled.
Return Parameters
Register A
OOH Transmission disabled
Register A
=
FFH Transmission enabled
Entry Point: WBOOT
+
45H
RSIN is the entry point for the subroutine which receives one character. When
the receive buffer is empty, it waits until data is received.
Return Parameter
Register A = Character received
Z Flag = OlH Normal completion
Z Flag = OOH CTRL-STOP was used to terminate transmission.
'4-1·'li.
Entry Point: WBOOT
+
48H
RSOUT is the entry point for the subroutine which outputs a charactc:r via the
RS232C interface.
Entry parameter
Register C = ASCII code of character to be sent.
Z Flag
OlH Normal completion
Z Flag = OOH
I
CTRL
I - I
STOP
I
was used to terminate transmission.
Buffer address and size are as specified by the user with the RSOPEN routine.
5-22
NOTE:
RSOPEN must be called to open the RS232C port before RSIN or RSOUT is
called.
';"1['8'
Entry Point: WBOOT
+
51H
RSIOX is the entry point for the subroutine which determines the I/O configu-
ration via the RS-232C interface and opens or closes the interface. The func-
tions of this subroutine are explained below.
RSIOX (OPEN)
Function: Opens the RS232C interface
Entry parameters
Register B = lOH
Register HL= Parameter block address
The contents of the parameter block are shown below.
IHL)-
Buffer Address 12B)
Receive Buffer
t
Buffer Size 12B)
Bit Rate 19 - 9FH, 1 B)
~
9FH = 19200
9EH =
9600
Bit/CHAR (1B)
9DH =
4800
OCH=
2400
1 ' - - -
Parity 11B)
,./1--
9AH =
1200
STOP Bit (1B)
8
=
800
I
Special Para. (1B)
6
=
300
4
=
150
~= 2
2
=
110
7 Bit/Chara.
= 3
8 Bit/Chara.
81 H = 75/1200 (Tx/Rx)
89H = 1200/75 ITx/Rx)
~=O
No Parity
Normally set to 9FFH.
= 1
Odd Parity
L......
6543
2
1
0
= 3
Even Parity
t
LDTRON
~=1
RTS ON
1 bit
- -
= 3
2 bit
5-23
'I., _ _ _ _ _ _ _ _ _ _ _ _ _ _
I
j

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents