NEC CP/M-86 System Reference Manual page 174

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the
APe
9-42
INPUT STRING
This operation returns a string from the specified device. The default device is the
keyboard.
For REQUEST MODE Input:
Input
Output
contrl(l)
contrl(2)
intin(l)
intin(2)
intin(3)
contrl(3)
contrl(5)
intout
For SAMPLE MODE Input:
Input
Output
contrl(l)
contrl(2)
intin( 1)
intin(2)
intin(3)
contrl(3)
contrl(5)
intout
Opcode
=
31
o
String device number
1
=
default string device (keyboard)
Maxim urn string length
Echo mode
0= do not echo input characters
1
=
echo input characters
o
Length of output string
o
=
request unsuccessful
>0
=
request successful
Output string
Opcode
=
31
o
String device number
1
=
default string device (keyboard)
Maxim urn string length
Echo mode
o
=
do not echo input characters
1
=
echo input characters
o
Length of output string
o
=
sam pIe unsuccessful
>0
=
sample successful
Output string if sample successful

Advertisement

Table of Contents
loading

Table of Contents