Download Print this page

Keyboard And Speaker - Atari 400 Technical Reference Manual

Home computer system
Hide thumbs Also See for 400:

Advertisement

G.
KEYBOARD AND SPEAKER
CONSOL (Console Switch Port) (DOIF):
from the console switches and indicators.
code. )
This address reads or writes data
(Set to 8 by
as
Vertical Blank
Not Used
(zero forced)
D3
D2
Dl
DO
Hex 08 should be written to this address before reading the switches.
Ones written will pull down on the
switch line.
CONSOL Bit Assignment:
DO
Dl
D2
D3
Game Select
- 0 means switch pressed.
Game Start
}
Option Select
Loudspeaker
- should be held at 1
except when writing 0
momentarily.
OS writes a
1
during vertical blank'.
KBCODE (Keyboard Code) (D209):
This address reads the Keyboard Code,
and is usually read in response to a Keyboard Interrupt (IRQ and bits 6 or 7
of IRQST).
See IRQEN for information on enabling keyboard interrupts.
See
SKCTL bits
1
and 0 for key scan and debounce enable.
D7
D6
D5
D4
D3
D7
Control Key
D6
Shift Key
D2
Dl
DO
Read by OS into shadow CH when key is hit.
The OS has a get character
function which converts the keycode to ATASCII (Atari ASCII).
111.15

Hide quick links:

Advertisement

loading

This manual is also suitable for:

800