From: uz Date: Sat, 29 Jan 2011 17:53:58 +0000 (+0000) Subject: Bugfix by Karri Kaksonen. X-Git-Tag: V2.13.3~511 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1dcba5c24efd072be9e28d34c0f9af1195c80e16;p=cc65 Bugfix by Karri Kaksonen. git-svn-id: svn://svn.cc65.org/cc65/trunk@4949 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/lynx/lynx-cart.s b/libsrc/lynx/lynx-cart.s index f740614ee..42729a106 100644 --- a/libsrc/lynx/lynx-cart.s +++ b/libsrc/lynx/lynx-cart.s @@ -17,8 +17,7 @@ .include "extzp.inc" .export lynxskip0, lynxread0 .export lynxblock - -__BLOCKSIZE0__ = 1024 + .import __BLOCKSIZE__ .code @@ -89,7 +88,7 @@ lynxblock: lda __iodat sta IODAT stz _FileBlockByte - lda #$100-(>__BLOCKSIZE0__) + lda #<($100-(>__BLOCKSIZE__)) sta _FileBlockByte+1 ply plx