From: cuz Date: Sat, 20 Dec 2003 23:11:30 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~1016 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=018a68a2fe745324e25637fa42f98f9402abff60;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2792 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/cbm510/cbm510-ram.s b/libsrc/cbm510/cbm510-ram.s index f744d019c..7b2c1c9db 100644 --- a/libsrc/cbm510/cbm510-ram.s +++ b/libsrc/cbm510/cbm510-ram.s @@ -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