beautypg.com

Re quest key board buffer sta tus com mand 33, En able block mode com mand 33, Dis able block mode com mand 33 – Maple Systems MAP450D User Manual

Page 34: Dis play con trol com mands 33, Read dis play vari able com mand 33, Disable block mode control command 33, Enable block mode control command 33, Disable block mode 33, Enable block mode 33, Read display variable 33

background image

Request Keyboard Buffer Status Command

ESC

? terminator

Response: status terminator

status:

0 = buffer empty

1 = keyboard input in progress (Block and Network modes)

2 = entire message buffered, waiting for Poll OIT Buffer control

command (Network mode)

Description: Allows the host controller to determine the status of the OIT’s Keyboard

Input Buffer.

Example: PRINT CHR(27); “?”; CHR(2)

Enable Block Mode Command

ESC

{ start end fill terminator

start:

00 to 39. Starting cursor column number. 00 defaults to the position of

the cursor at the time the command is received.

end:

00 to 39. Ending cursor column number. 00 defaults to the end of the

current line at the time the command is received.

fill:

SPACE to ~. Fill character used to replace any characters affected by

the Clear Output Buffer command or the DEL and CAN control codes.

If not specified, the ASCII space character is used.

Response: none

Description: Allows the host controller to dynamically change from Interactive to Block

mode. The optional start, end, and fill parameters limit the input to a specific area of

the display (up to 40 characters). This command can be used in Network mode.

Example: PRINT CHR(27); “{1520”; CHR(2)

Disable Block Mode Command

ESC

} enable terminator

enable:

0 = no change, 1 = off (disable keyboard entry), 2 = on

Response: none

Description: After sending the Enable Block Mode command, the Disable Block Mode

command allows the host controller to return the OIT to Interactive mode, clears the

OIT’s Keyboard Output Buffer, and enables or disables the keyboard. If the OIT was in

Network mode when the Enable Block Mode command was received, then the block

input field is cleared without changing the operating mode.

Example: PRINT CHR(27); “}2”; CHR(2)

Display Control Commands

Read Display Variable Command

ESC

u terminator

Response: text terminator

text:

ASCII characters currently in the display variable

Description: Allows the host controller to retrieve the contents of a display variable.

Example: PRINT CHR(27); “u”; CHR(2)

33

MAP450D Operation Manual

1010-0101, Rev. 00