][ KEYBOARD & SOUND ][

Page 9 of 24

KEYBOARD

PEEK (-16384).....Read Keyboard. If > 127 then a key was pressed POKE -16368,0.....Clear Keyboard Strobe CALL -856.........Wait Loop (set wait timer with POKE 69,X where X = 0-255) CALL -756.........Wait for any Key Press. (destroys A,Y-Registers) CALL -741.........KEYIN CALL -715.........Read Key and Perform Escape Function if necessary CALL -678.........Wait for RETURN CALL -676.........Ring Bell, wait for RETURN CALL -670.........Perform Line Cancel CALL -665.........Get Line of Text with no prompt, perform Carriage Return CALL -662.........Get Line of Text with prompt CALL -657.........Get line INPUT no prompt-Line Feed (accepts commas and colons) CALL -656.........Ring BELL and WAIT for a Carriage Return input CALL -626.........Print Carriage Return (destroys A,Y-Registers)

SOUND

X=PEEK(-16336)....Toggle Speaker (1 click), once every two PEEKs POKE -16336,0.....Toggle Speaker (1 click longer than PEEK) CALL -198.........Ring Bell (destroys A,Y-Registers) CALL -1052........Ring Bell for 1/10 second

CASSETTE

X=PEEK(-16352)....Toggle Cassette output port (1 click on cassette recording) CALL -310.........Write to Cassette Tape CALL -307.........Write out Cassette Tape CALL -259.........Read from Cassette Tape (Limits A1 to A2)