]> git.sur5r.net Git - cc65/commitdiff
Bugfix by Karri Kaksonen.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 29 Jan 2011 17:53:58 +0000 (17:53 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 29 Jan 2011 17:53:58 +0000 (17:53 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4949 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/lynx/lynx-cart.s

index f740614ee65b486b64a4a440541baf9b5c67eff3..42729a106b32a4d573111471715722bf9faa32e8 100644 (file)
@@ -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