]> git.sur5r.net Git - cc65/commitdiff
Added adjustment for Apple GEOS screen size.
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 4 Feb 2012 17:39:36 +0000 (17:39 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 4 Feb 2012 17:39:36 +0000 (17:39 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5442 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos-cbm/mousesprite/mouse.s

index d267a95638632c0b0043b0f81534ea053217f3d6..1889c4f95e79f5df4ecf2012d901477b54dc4acf 100644 (file)
@@ -35,6 +35,7 @@ _mouse_init:
        sta     mouseTop
        sta     mouseLeft
        sta     mouseLeft+1
+.ifdef  __GEOS_CBM__
        lda     #199
        sta     mouseBottom
        lda     graphMode
@@ -47,6 +48,12 @@ _mse_screen320:
        lda     #<319                   ; 40 columns on C64/C128
        ldx     #>319
 _mse_storex:
+.else
+       lda     #191
+       sta     mouseBottom
+       lda     #<559
+       ldx     #>559
+.endif
        sta     mouseRight
        stx     mouseRight+1
 _mse_initend: