UKB (N-232-C Channel-B Data Input)
‘(Centronics Standard Printer Control)
Input Parameter
N o t e x i s t
Input Parameter
Set the character
code to
print into
A - r e g i s t e r ( A S C I I c o d e ) .
Output Parameter
Set
a input data from Channel-B into
A - r e g i s t e r .
O u t p u t P a r a m e t e r N o t e x i s t
R e g i s t e r
All registers are reserved
expect
A-register
F l a g - r e g i s t e r .
R e g i s t e r
A l l , r e g i s t e r s a r e r e s e r v e d .
Calling Method
CALL LPRINT
Calling Method
CALL
UKB
T h i s i s a p r o g r a m t o c o n t r o l a e x t e r n a l p r i n t e r w i t h
C e n t r o n i c s S t a n d a r d P r i n t e r ’ s I n t e r f a c e c o n n e c t e d t o P a r a l l e l
I / O P o r t s .
F o r d e t a i l r e f e r t o t h e s p e c i f i c a t i o n s o f t h e c o n n e c t e d
p r i n t e r p e r t a i n i n g t o i t ’ s F u n c t i o n c o d e s .
This is program to input the data from
the RS-232-C
( C h a n n e l - B ) P o r t .
T h e o t h e r c o n d i t i o n s a r e t h e s a m e a s t h o s e
o f i t e m <
U C R T
The RS-232-C (Channel-B) being assigned to < TTY > input device
when
running on
B e c a r e f u l n o t t o c a l l t h i s p r o g r a m w i t h o u t a e x t e r n a l
printer, otherwise this program cannot return
to the
(RS-232-C Channel-A Data Input)
UCRT (RS-232-C
Channel-B
Input Parameter
N o t e x i s t
Input Parameter
:
Set
a data into A-register which you intend
to output from Channel-B.
Output Parameter : Set a input data from Channel-A
i n t o
A - r e g i s t e r .
O u t p u t P a r a m e t e r N o t e x i s t
R e g i s t e r
A l l r e g i s t e r s a r e r e s e r v e d e x c e p t A - r e g i s t e r
F l a g - r e g i s t e r .
R e g i s t e r
A l l r e g i s t e r s a r e r e s e r v e d .
Calling Method
CALL USIOIN
Calling Method
CALL
UCRT
This is a program
to
input the data from the RS-232-C
( C h a n n e l - A ) P o r t .
The other conditions are the same as
of
‘Channel-B’ Port.
This is a program
to
output the data
from the RS-232-C
( C h a n n e l - B ) P o r t .
The Baud-Rate value being set
by
the
S w i t c h , w h i c h i s a t t h e r e a r s i d e o f t h e F o r m u l a - l .
T h e d e t a i l i n f o r m a t i o n p e r t a i n i n g t o S e r i a l I / O m o d e a n d b i t
f o r m a t a r e a s f o l l o w s
USIOOUT
Channel-A Data Output)
Mode
A s y n c h r o n o u s ( S t a r t S t o p S y n c h r o n o u s )
Input Parameter
S e t a d a t a i n t o A - r e g i s t e r w h i c h y o u i n t e n d
to output from Channel-B.
Character
Bit Length
8 bits/character
O u t p u t P a r a m e t e r N o t e x i s t
P a r i t y
E v e n p a r i t y
R e g i s t e r
A l l r e g i s t e r s a r e r e s e r v e d .
Stop Bit
Length
: 2 stop bit
Calling Method
CALL USIOOUT
In
this
program control signals such as CS, CD, RS, ER,
e t c . a r e n o t u s e d .
The RS-232-C (Channel-B) being assigned to < TTY > output device
when running on
T h i s i s a p r o g r a m t o o u t p u t t h e d a t a f r o m t h e R S - 2 3 2 - C
( C h a n n e l - A ) P o r t .
The other conditions are the same as those of ‘Channel-B’
Port.
i