]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/ksetnam.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / plus4 / ksetnam.s
index 93ecbc74aa709163a4c8e467ca087027812bda4b..90a08c25b2effc57ad730e5f85d23d5e473b3684 100644 (file)
         stx     TMPPTR
         sty     TMPPTR+1                ; Store pointer to name in TMPPTR
 
-; Copy the given name into INBUF.
+; Copy the given name into FNBUF.
 
         ldy     #$00
 @L2:    lda     (TMPPTR),y
-        sta     INBUF,y
+        sta     FNBUF,y
         iny
         cpy     FNAM_LEN
         bne     @L2
 
 ; Load the new parameters for the low memory buffer
 
-        ldx     #<INBUF
-        ldy     #>INBUF
+        ldx     #<FNBUF
+        ldy     #>FNBUF
 
 ; Instead of banking in the ROM, store the values directly into the zeropage