This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

GETIN

Get a character

Table of Contents

Function AddressVectorDescription
GETIN FFE4032AGet a character

If the input channel is the keyboard, this subroutine removes one character from the keyboard queue and returns it as an ASCII value in the accumulator. If the queue is empty, the value returned in the accumulator will be zero.

Characters are put into the queue automatically by an interrupt driven keyboard scan routine which calls the SCNKEY routine. The keyboard buffer can hold up to ten characters. After the buffer is filled, additional characters are ignored until at least one character has been removed from the queue.

If the channel is RS-232, then only the A register is used and a single character is returned. See READST to check validity.

If the channel is serial, cassette, or screen, call BASIN routine.

See also

CHKIN, OPEN, READST