1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-26 13:49:21 +00:00
C02/include/cbm/keydef.a02

43 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-12-20 18:37:56 +00:00
;PETSCII Key Code Definitions
;Common to All PET/CBM Computers
;Key Definitions (Struct Key Codes)
; Chr Name Description
KEYS: BYTE $00 ;BCKSPC Backspace [N/A]
BYTE $03 ;BREAK Break (RUN/STOP)
BYTE $93 ;CLEAR Clear (Shift-CLR/HOME)
BYTE $00 ;COPY Copy [N/A]
BYTE $14 ;DELETE Delete
BYTE $11 ;DOWN Cursor Down
BYTE $00 ;ESCAPE Escape [C128/C65]
BYTE $85 ;FN1 F1 [VIC20/C64/C16/C128/C65]
BYTE $89 ;FN2 F2 [VIC20/C64/C16/C128/C65]
BYTE $86 ;FN3 F3 [VIC20/C64/C16/C128/C65]
BYTE $8A ;FN4 F4 [VIC20/C64/C16/C128/C65]
BYTE $87 ;FN5 F5 [VIC20/C64/C16/C128/C65]
BYTE $8B ;FN6 F6 [VIC20/C64/C16/C128/C65]
BYTE $88 ;FN7 F7 [VIC20/C64/C16/C128/C65]
BYTE $8C ;FN8 F8 [VIC20/C64/C128/C65] [HELP on C16]
BYTE $00 ;FN9 F9 [C65]
BYTE $00 ;FN10 F10 [C65]
BYTE $00 ;FN11 F11 [C65]
BYTE $00 ;FN12 F12 [C65]
BYTE $84 ;HELP Help [C128/xC65]
BYTE $13 ;HOME Home (CLR/HOME)
BYTE $94 ;INSERT Insert (Shift-INS/DEL)
BYTE $9D ;LEFT Cursor Left
BYTE $00 ;LNFD Line Feed [C128]
BYTE $1D ;RIGHT Cursor Right
BYTE $0D ;RETURN Return
BYTE $8D ;SHFRTN Shift-Return
BYTE $00 ;RUN Run (Shift-RUN/STOP)
BYTE $92 ;RVSOFF Reverse Off
BYTE $12 ;RVSON Reverse On
BYTE $A0 ;SHFSPC Shifted Space
BYTE $09 ;TAB Tab
BYTE $00 ;SHFTAB Shift-Tab [C128/C65]
BYTE $91 ;UP Cursor Up
;System Key Names
KNAMES BYTE "DEL",0,"STOP",0,"RETURN",0