E S C
Operate undermentioned operations
t ‘ F ’ ( 4 6 H )
I g n o r e t h e c h a r a c t e r s o v e r 8 0
c o l u m n s / l i n e .
< E S C > t ‘ G ’ ( 4 7 H )
P r i n t t h o s e c h a r a c t e r s i n t h e n e x t
l i n e , w h i c h e x c e e d s 8 0 c o l u m n s / l i n e .
( I n i t i a l S t a t e )
< E S C > t ‘ V ’ ( 5 6 H )
P r i n t t h e c h a r a c t e r s a t a i n t e r v a l o f
o n e l i n e .
+ ‘ W ’ ( 5 7 H ) P r i n t t h e c h a r a c t e r s w i t h o u t i n t e r v a l .
( I n i t i a l S t a t e )
DEL (7FH) Invalid
Note
Note
2
S h i f t - O u t m o d e f o r d e t a i l y o u s h o u l d r e f e r t o
Table 22
C R T P r i n t e r C h a r a c t e r C o d e T a b l e ( 2 )
where you can add up various d i f f e r e n t c h a r a c t e r s f o r
y o u r s p e c i f i c u s e s .
For example
G r e e k c h a r a c t e r s , J a p a n e s e c h a r a c t e r s
e t c .
S h i f t - I n m o d e c o n s i s t o f E n g l i s h c h a r a c t e r s a n d
S y m b o l s a t i n i t i a l s t a t e .
KB
(System’s Keyboard Control)
Input Parameter
N o t e x i s t
Output Parameter T h e p r e s s e d k e y ’ s c o d e b e i n g s e t i n A - 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 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 .
Calling Method
: CALL KB
B y c a l l i n g t h i s p r o g r a m , a f t e r k e e p i n g k e y c o d e ’ s i n t o
A c c u m u l a t o r ( A - r e g i s t e r ) a n d r e t u r n s b a c k t o m a i n p r o g r a m .
A l l r e g i s t e r s e x c e p t A - r e g i s t e r b e i n g r e s e r v e d .
A t t h e t i m e o f c a l l i n g ‘ B D O S F u n c t i o n ’ , t h e k e y c o d e s o f
Function-Keys, Cursor Control-Keys and Numeric-Keys get changed.
For, Function-Keys maximum 8 bytes, and for Cursor Control-Keys
including Numeric-Keys maximum 2 bytes get changed inside the
‘ B I O S ’ .
W h e n y o u c a l l t h i s p r o g r a m d i r e c t l y t h e o r i g i n a l k e y c o d e s
< Table 19 Keyboard Code > of Function-Keys, Cursor Control
-Keys
and Numeric-Keys do not change inside the ‘BIOS’ and
p r o c e e d i n s i d e t h e A c c u m u l a t o r ( A - r e g i s t e r ) a n d r e t u r n s b a c k t o
main program.
KBSTS (System’s Keyboard Status Check)
Input Parameter
N o t e x i s t
O u t p u t P a r a m e t e r W i t h o u t d a t a
A - r e g i s t e r
With data
A - r e g i s t e r
FF( H)
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 .
Calling Method
CALL KBSTS