KBDREPEATRATE := $028b
KBDREPEATDELAY := $028c
-; ---------------------------------------------------------------------------
-; Kernal routines
-
-; Direct entries
-CURS_SET := $CD57
-CURS_ON := $CD6F
-CURS_OFF := $CD9F
-CLRSCR := $C142
-KBDREAD := $C006
-NEWLINE := $C363
-PRINT := $C322
-NMIEXIT := $FF33
-INDFET := $FF74
-
; ---------------------------------------------------------------------------
; Vectors
KBDREPEATRATE := $28b
KBDREPEATDELAY := $28c
-; ---------------------------------------------------------------------------
-; Kernal routines
-
-; Direct entries
-CLRSCR := $E544
-KBDREAD := $E5B4
-NMIEXIT := $FEBC
-
; ---------------------------------------------------------------------------
; Vector and other locations
PLOT := $FFF0
IOBASE := $FFF3
.endif
+
+; ---------------------------------------------------------------------------
+; Kernal routines, direct entries
+
+.if .def(__VIC20__)
+ CLRSCR := $E55F
+ KBDREAD := $E5CF
+.elseif .def(__C64__)
+ CLRSCR := $E544
+ KBDREAD := $E5B4
+ NMIEXIT := $FEBC
+.elseif .def(__C128__)
+ CLRSCR := $C142
+ KBDREAD := $C006
+ NMIEXIT := $FF33
+ NEWLINE := $C363
+ PRINT := $C322
+ CURS_SET := $CD57
+ CURS_ON := $CD6F
+ CURS_OFF := $CD9F
+ INDFET := $FF74
+.elseif .def(__C16__)
+ CLRSCR := $D88B
+ KBDREAD := $D8C1
+.endif
KBDREPEATRATE := $541
KBDREPEATDELAY := $542
-; ---------------------------------------------------------------------------
-; Kernal routines
-
-; Direct entries
-CLRSCR := $D88B
-KBDREAD := $D8C1
-
; ---------------------------------------------------------------------------
; Vector and other locations
ENABLE_ROM := TED_ROMSEL
ENABLE_RAM := TED_RAMSEL
-
-
XSIZE = 22
YSIZE = 23
-; ---------------------------------------------------------------------------
-; Kernal routines
-
-; Direct entries
-CLRSCR := $E55F
-KBDREAD := $E5CF
-
; ---------------------------------------------------------------------------
; Vector and other locations