 
*  EE7/TABLS    40 col        Dec / 15 / 92
 
 
*  CTBL & COMTBL extended to give room for Vn 2.0
*------------------------------------------------
*  CMTL =  >7A
 
*  Key code table for control keys >80 - >98
*-------------------------------------------
 
CTBL   EQU  $                 Control keys -key-unit 5
HBKEYE DATA START  or HIBIT   (80) c-,  Ignore
       DATA ROLLUP            (81) c-A  Roll up
       DATA INSCH1            (82) c-B  Roll down - now SPLIT  only
       DATA COMAND            (83) c-c  Command mode
       DATA RGTAR             (84) c-D  Right ->
       DATA UPAR              (85) c-E  Up arrow
       DATA FREEZE            (86) c-F  Freeze lower screen
       DATA INSCHR            (87) c-G  Insert character
       DATA HOMFIL            (88) c-H  Start of file
       DATA TABF              (89) c-I  Tab
       DATA ENDFIL            (8A) c-J  End of file
       DATA CTOEOL            (8B) c-K  Clear to end of line
       DATA HOMCSR            (8C) c-L  Home cursor
FCTINS DATA INDENT            (8D) c-M  <cr> & Goto Lmrg
       DATA INSERT            (8E) c-N  Insert line
       DATA GO2ORG            (8F) c-O  Back where we were
       DATA PAGE              (90) c-P  Page feed char
       DATA ROLDWN            (91) c-Q  Page up
       DATA REFRMT            (92) c-R  Right -->
       DATA LFTAR             (93) c-S  Left  -->
       DATA BTAB              (94) c-T  Back tab
       DATA CMODE             (95) c-U  Control char mode
       DATA GOTO1             (96) c-V  Goto col 1
       DATA TABWD             (97) c-W  Word tab
       DATA DWNAR             (98) c-X  Down arrow
       DATA MRREL             (99) c-Y  Release margins
       DATA GO2END            (9A) c-Z  Tab across
       DATA DNCAS             (9B) c-.  Downcase
       DATA UPCAS             (9C) c-;  Upcase
       DATA START             (9D) c-=  X Restore plain ruler line
       DATA INDENT            (9E) c-8  New paragraph
       DATA PAGE              (9F) c-9  New page
CTBLND EQU  $
 
CTBL2  EQU  $                 Control keys.
       DATA WORDW             (B0) c-0  Word wrap mode
       DATA OOPS              (B1) c-1  Oops key
FCTDEL DATA REFRMT            (B2) c-2  Reformat
       DATA COLORC            (B3) c-3  Change color
       DATA NEXTP             (B4) c-4  Find next paragraph
       DATA DUPLIC            (B5) c-5  Duplicate previous line
       DATA LASTP             (B6) c-6  Find last paragraph
       DATA TABWD             (B7) c-7  Tab to next word
 
*  Vowel modifier keys (Eu/Wr
 
VWLCOM DATA START             (B8) f-,  Circumflex
       DATA START             (B9) f-.  Umlaut
       DATA START             (BA) f-/  Grave
       DATA START             (BB) c-/  Acute
       DATA LMODE             (BC) f-0  Line # toggle
       DATA MARKIT            (BD) f-;  Line marker
BTBL   EQU  $-2
CTBL2L EQU  $
 
 
*  KeyCode table for function keys >00->0F
*-----------------------------------------
 
       DATA TABF              (01) f-7  Tab forward
       DATA ROLLUP            (02) f-4  Scroll up page
       DATA DELCHR            (03) f-1  Delete char
       DATA INSCHR            (04) f-2  Insert mode set
       DATA GO2MRK            (05) f-=  Go to marked line
       DATA INSERT            (06) f-8  Insert blank line
       DATA DELLIN            (07) f-3  Delete current line
       DATA LFTAR             (08) f-S  Cursor left
       DATA RGTAR             (09) f-D  Cursor right
       DATA DWNAR             (0A) f-X  Cursor down
       DATA UPAR              (0B) f-E  Cursor up
       DATA ROLDWN            (0C) f-6  Scroll down page
       DATA ENTKEY            (0D) Ent  Start next line
       DATA NXTSCN            (0E) f-5  Window across
       DATA COMAND            (0F) f-9  Command mode
BTBLND EQU  $
 
*----------------------------------------------------*
*  Command mode key table to be downloaded from VDP  *
*----------------------------------------------------*
 
COMTBL EQU  $
HBKEYC DATA START or HIBIT    (80) c-,  Set hi-bit chars
       DATA CMRLUP            (81) c-A  Scroll text up
       DATA START             (82) c-B  No effect
       DATA COMAND            (83) c-C  Command line
       DATA RGTAR             (84) c-D  Right cursor
       DATA CUPAR             (85) c-E  Ignore
       DATA DELCHR            (86) c-F  Delete char (original usage still)
       DATA INSC40            (87) c-G  Insert character
       DATA START             (88) c-H  Ignore
       DATA TABF              (89) c-I  Tab
       DATA START             (8A) c-J  Ignore
       DATA CTOEOL            (8B) c-K  Clear to end of line
       DATA START             (8C) c-L  Ignore
       DATA MARKLN            (8D) c-M  Mark line #
       DATA START             (8E) c-N  NTSC/PAl toggle
       DATA START             (8F) c-O  Ignore
       DATA CHR0C             (90) c-P  New Page code
       DATA CMRLDN            (91) c-Q  Scroll text down a line
       DATA START             (92) c-R  Ignore
       DATA LFTAR             (93  c-S  Left cursor
       DATA BTAB              (94) c-T  Back Tab
       DATA CMODE             (95) c-U  Control key mode
       DATA GOTO1             (96) c-V  Goto column one
       DATA TABWD             (97) c-W  Tab right by word
       DATA CDNAR             (98) c-X  Scroll text up a line
       DATA START             (99) c-Y  Ignore
       DATA GO2END            (9A) c-Z  Nop
       DATA DNCAS             (9B) c-.  Down-case
       DATA UPCAS             (9C) c-;  Up-case
       DATA START             (9D) c-=  Clean ruler line
       DATA CHR0A             (9E) c-8  New Para
       DATA CHR0C             (9F) c-9  New Page
 
COMTND EQU  $
       DATA WORDW             (B0) c-0  Mode toggle
       DATA CTOPL             (B1) c-1  Also - to current top of page
       DATA CMDXIT            (B2) c-2  Leave Command mode
       DATA COLORC            (B3) c-3  Color change
       DATA START             (B4) c-4  X Back color change
       DATA START             (B5) c-5  X Toggle tabline
       DATA START             (B6) c-6  X Toggle interlace
       DATA TABWD             (B7) c-7  Tab by word
 
*  Vowel modifier keys (Eu/Wr
 
VWLCMD DATA START             (B8) f-,  Circumflex
       DATA START             (B9) f-.  Umlaut
       DATA START             (BA) f-/  Grave
       DATA START             (BB) c-/  Acute
 
       DATA START             (BC) f-0  Ignore
       DATA START             (BD) f-;  Ignore
 
*  Key code table for function keys 0->F
 
       DATA TABF              (01) f-7  Tab forward
       DATA CMRLUP            (02) f-4  Scroll text up a page
       DATA DELCHR            (03) f-1  Delete char
       DATA INSC40            (04) f-2  Insert mode on
       DATA START             (05) f-=  Ignore
       DATA START             (06) f-8  Ignore
       DATA START             (07) f-3  Ignore
       DATA LFTAR             (08) f-S  Cursor left
       DATA RGTAR             (09) f-D  Cursor right
       DATA CDNAR             (0A) f-X  Text up a line
       DATA CUPAR             (0B) f-E  Text down a line
       DATA CMRLDN            (0C) f-6  Scroll text down a page
       DATA ENTKEY            (0D) Ent  Command/return edit
       DATA NXTSCN            (0E) f-5  Window across
       DATA COMAND            (0F) f-9  Restart command mode
COMTL  EQU  $-COMTBL
 
 
TABLEN EQU  $-CTBL
 
*------------------------------------------------------
*  LOADSAVE module forced beyond end of CTEXT line
 
