Rename INBUF to FNBUF, add basic buffer

git-svn-id: svn://svn.cc65.org/cc65/trunk@2993 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-04-28 11:55:43 +00:00
parent dadaf734af
commit c62b4ae73f
3 changed files with 132 additions and 13 deletions

View File

@@ -31,19 +31,19 @@
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