Kenner 2 page 4 July 1977 Co Filmer, translated to english Hans Otten, 2021
A parallel ASCII keyboard is a nice addition to the KIM-1.
Connect to the PIA A of the KIM-1 on the Application connector.
Some keyboards may require a -12 V power supply.
The address 1700 now shows the ASCII keyboard code of (the last) key pressed. The high bit (PB7) is the strobe signal, the other 7 bits the ASCII code.
A program should poll the strobe bit, if activated wait for the strobe bit to be deactivated, and then read the key and return.
Testing for keypressed such as a break test means checking the strobe bit, if activated stop processing, etc..
Code fragments by Hans Otten
PAD * $1700 ; BREAKKEY IN BIT 7 ; SUBROUTINE GET CHARACTER ; GETCH BIT PAD ; PROCEDURE GETCHARACTER ( CHAR ) BPL GETCH ; WAIT FOR STROBE GWAIT BIT PAD ; WAIT FOR END OF STROBE BMI GWAIT ; LDA PAD ; GET CHARACTER RTS ; END GETCHARACTER ; ; example of break test ; SYN BIT PAD ; REPEAT BPL GOON ; WHILE NOT keypressed JMP MONRET ; GOON continue processing
See also:
The KIM-1 family
The KIM-1 is one of the first computer systems build around the 6502 microprocessor, somewhere in 1975.
The hard...
K-1008-2L Patches to Microsoft BASIC
Patches to Microsoft Basic K-1008-2L sources, binaries and demos
This package was distributed as a manual and a cassett...
K-1008-6 Visible Memory for the PET
The K-1008 Visible Memory, original for the KIM-1, was also adapted to be used on the Commodore PET.
Same specification...
K-1008 Visable Memory Replica by Eduardo Casino
K-1008 Visable Memory Replica by Eduardo Casino
Eduardo Casino (see also his work on a KIM-1 Replica), he is working on...