]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 20 Dec 2003 23:11:30 +0000 (23:11 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 20 Dec 2003 23:11:30 +0000 (23:11 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2792 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/cbm510/cbm510-ram.s

index f744d019c22bf227d554641ecd4c2750fd4e3eee..7b2c1c9db891dee82ebfbf386a965842fef44a4d 100644 (file)
@@ -7,7 +7,7 @@
 
        .include        "zeropage.inc"
 
-       .include        "em-kernel.inc"
+       .include        "em-kernel.inc"
         .include        "em-error.inc"
         .include        "cbm510.inc"
 
@@ -280,10 +280,10 @@ setup:  sta     ptr3
         sta     ptr2+1                  ; Get count into ptr2
 
         ldy     #EM_COPY::BUF+1
-        lda     (ptr1),y
+        lda     (ptr3),y
         tax
         dey
-        lda     (ptr1),y                ; Get the buffer pointer into a/x
+        lda     (ptr3),y                ; Get the buffer pointer into a/x
 
         ldy     #RAMBANK
         sty     IndReg