; --------------------------------------------------------------------------
-.segment "LOWMEM" ; Accesses the ROM - must go into low mem
+.segment "LOWCODE" ; Accesses the ROM - must go into low mem
_cgetc: lda KEY_COUNT ; Get number of characters
ora FKEY_COUNT ; Or with number of function key chars
.constructor initkbd
.destructor donekbd
-.code ; Can go into the normal code segment
+.segment "INIT" ; Special init code segment may get overwritten
.proc initkbd
.endproc
-.segment "LOWMEM" ; Accesses the ROM - must go into low mem
+.segment "LOWCODE" ; Accesses the ROM - must go into low mem
.proc donekbd