mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +00:00
some bytes saved
git-svn-id: svn://svn.cc65.org/cc65/trunk@1805 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f29db6ace0
commit
6b1d62a281
@ -273,11 +273,7 @@ COPYFROM:
|
|||||||
; Transfer the bytes in the last page
|
; Transfer the bytes in the last page
|
||||||
|
|
||||||
ldy #0
|
ldy #0
|
||||||
ldx #VDC_DATA
|
@L3: jsr vdcgetbyte
|
||||||
stx VDC_ADDR_REG
|
|
||||||
@L3: bit VDC_ADDR_REG
|
|
||||||
bpl @L3
|
|
||||||
lda VDC_DATA_REG
|
|
||||||
sta (ptr2),y
|
sta (ptr2),y
|
||||||
iny
|
iny
|
||||||
dec tmp1
|
dec tmp1
|
||||||
@ -313,12 +309,8 @@ COPYTO:
|
|||||||
; Transfer the bytes in the last page
|
; Transfer the bytes in the last page
|
||||||
|
|
||||||
ldy #0
|
ldy #0
|
||||||
ldx #VDC_DATA
|
@L3: lda (ptr2),y
|
||||||
stx VDC_ADDR_REG
|
jsr vdcputbyte
|
||||||
@L3: bit VDC_ADDR_REG
|
|
||||||
bpl @L3
|
|
||||||
lda (ptr2),y
|
|
||||||
sta VDC_DATA_REG
|
|
||||||
iny
|
iny
|
||||||
dec tmp1
|
dec tmp1
|
||||||
lda tmp1
|
lda tmp1
|
||||||
|
@ -273,11 +273,7 @@ COPYFROM:
|
|||||||
; Transfer the bytes in the last page
|
; Transfer the bytes in the last page
|
||||||
|
|
||||||
ldy #0
|
ldy #0
|
||||||
ldx #VDC_DATA
|
@L3: jsr vdcgetbyte
|
||||||
stx VDC_ADDR_REG
|
|
||||||
@L3: bit VDC_ADDR_REG
|
|
||||||
bpl @L3
|
|
||||||
lda VDC_DATA_REG
|
|
||||||
sta (ptr2),y
|
sta (ptr2),y
|
||||||
iny
|
iny
|
||||||
dec tmp1
|
dec tmp1
|
||||||
@ -313,12 +309,8 @@ COPYTO:
|
|||||||
; Transfer the bytes in the last page
|
; Transfer the bytes in the last page
|
||||||
|
|
||||||
ldy #0
|
ldy #0
|
||||||
ldx #VDC_DATA
|
@L3: lda (ptr2),y
|
||||||
stx VDC_ADDR_REG
|
jsr vdcputbyte
|
||||||
@L3: bit VDC_ADDR_REG
|
|
||||||
bpl @L3
|
|
||||||
lda (ptr2),y
|
|
||||||
sta VDC_DATA_REG
|
|
||||||
iny
|
iny
|
||||||
dec tmp1
|
dec tmp1
|
||||||
lda tmp1
|
lda tmp1
|
||||||
|
Loading…
Reference in New Issue
Block a user