From: cuz Date: Mon, 15 Dec 2003 23:06:05 +0000 (+0000) Subject: Cosmetic changes X-Git-Tag: V2.12.0~1042 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=422ebf76fbe2bee1eb8fe177cd57513f5e6e2915;p=cc65 Cosmetic changes git-svn-id: svn://svn.cc65.org/cc65/trunk@2764 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/c16/c16-ram.s b/libsrc/c16/c16-ram.s index 3d797c6ab..2b603ae14 100644 --- a/libsrc/c16/c16-ram.s +++ b/libsrc/c16/c16-ram.s @@ -158,37 +158,11 @@ transfer: sei sta ENABLE_RAM + .repeat 8 lda (ptr1),y sta (ptr2),y iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny + .endrepeat sta ENABLE_ROM cli diff --git a/libsrc/c64/c64-ram.s b/libsrc/c64/c64-ram.s index 161f35272..b0a60c1d9 100644 --- a/libsrc/c64/c64-ram.s +++ b/libsrc/c64/c64-ram.s @@ -147,37 +147,11 @@ transfer: ; Unroll the following loop -loop: lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y - sta (ptr2),y - iny - - lda (ptr1),y +loop: .repeat 8 + lda (ptr1),y sta (ptr2),y iny + .endrepeat bne loop