]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/cgetc.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / plus4 / cgetc.s
index 0bcd6013afc5f63fa83ac4c56a35d16358de4d2f..0a440312719806b6d833c386c199086c67df9f35 100644 (file)
@@ -11,7 +11,7 @@
 
 ; --------------------------------------------------------------------------
 
-.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
@@ -59,7 +59,7 @@ L2:           sta     ENABLE_ROM      ; Bank in the ROM
        .constructor    initkbd
        .destructor     donekbd
 
-.code                           ; Can go into the normal code segment
+.segment        "INIT"          ; Special init code segment may get overwritten
 
 .proc  initkbd
 
@@ -73,7 +73,7 @@ L2:           sta     ENABLE_ROM      ; Bank in the ROM
 .endproc
 
 
-.segment        "LOWMEM"        ; Accesses the ROM - must go into low mem
+.segment        "LOWCODE"       ; Accesses the ROM - must go into low mem
 
 .proc  donekbd