From 018a68a2fe745324e25637fa42f98f9402abff60 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 20 Dec 2003 23:11:30 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2792 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm510/cbm510-ram.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5