Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@1725 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-12-06 21:54:49 +00:00
parent 5da55386ed
commit fb8984c73b
2 changed files with 6 additions and 3 deletions

View File

@@ -206,6 +206,7 @@ COPYFROM:
beq @L4
sta tmp1
ldy #$00
@L3: ldx #MMU_CFG_RAM1
jsr FETCH
sta (ptr2),y
@@ -270,6 +271,7 @@ COPYTO: sta ptr3
beq @L4
sta tmp1
ldy #$00
@L3: lda (ptr2),y
ldx #MMU_CFG_RAM1
jsr STASH

View File

@@ -244,6 +244,7 @@ common: ldy #EM_COPY_COUNT+1
; Transfer the bytes in the last page
ldy #$00
@L3: lda (ptr1),y
sta (ptr2),y
iny