;PETSCII Key Code Definitions ;for Commodore 64 Computer ;Key Definitions (Struct Key Codes) ; Chr Name Description VICE x64 KEYS: BYTE $00 ;BCKSPC Backspace [N/A] BYTE $03 ;BREAK Break (RUN/STOP) Escape, Caps Lock, or Tab-C BYTE $93 ;CLEAR Clear (Shift-CLR/HOME) Shift-Home BYTE $00 ;COPY Copy [N/A] BYTE $14 ;DELETE Delete Backspace, Delete, or Tab-T BYTE $11 ;DOWN Cursor Down Cursor Down or Tab-Q BYTE $00 ;END End [N/A] BYTE $00 ;ESCAPE Escape [N/A] BYTE $85 ;FN1 F1 (F1/F2) F1 BYTE $89 ;FN2 F2 (Shift-F1/F2) F2 or Shift-F1 BYTE $86 ;FN3 F3 (F3/F4) F3 BYTE $8A ;FN4 F4 (Shift-F3/F4) F4 or Shift-F3 BYTE $87 ;FN5 F5 (F5/F6) F5 BYTE $8B ;FN6 F6 (Shift-F5/F6) F6 or Shift-F5 BYTE $88 ;FN7 F7 (F7/F8) F7 BYTE $8C ;FN8 F8 (Shift-F7/F8) F8 or Shift-F7 BYTE $00 ;FN9 F9 [N/A] BYTE $00 ;FN10 F10 [N/A] BYTE $00 ;FN11 F11 [N/A] BYTE $00 ;FN12 F12 [N/A] BYTE $84 ;HELP Help [N/A] BYTE $13 ;HOME Home (CLR/HOME) Home or Tab-S BYTE $94 ;INSERT Insert (Shift-INS/DEL) Insert or Shift-Back BYTE $9D ;LEFT Cursor Left Cursor Left BYTE $00 ;LNFD Line Feed [N/A] BYTE $00 ;MENU Menu [N/A] BYTE $00 ;PAGEDN Page Down [N/A] BYTE $00 ;PAGEUP Page Up [N/A] BYTE $0D ;RETURN Return Enter or Tab-M BYTE $1D ;RIGHT Cursor Right Cursor Right BYTE $83 ;RUN Run (Shift-RUN/STOP) Shift-Escape BYTE $92 ;RVSOFF Reverse Off Tab-0 BYTE $12 ;RVSON Reverse On Tab-9 or Tab-R BYTE $8D ;SHFRTN Shift-Return Shift-Enter BYTE $A0 ;SHFSPC Shift-Space Shift-Space BYTE $00 ;SHFTAB Shift-Tab [N/A] BYTE $00 ;TAB Tab BYTE $91 ;UP Cursor Up Cursor Up ;System Key Names KNAMES BYTE "DEL",0,"STOP",0,"RETURN",0