From: ol.sc
Date: Sat, 4 Feb 2012 17:39:36 +0000 (+0000)
Subject: Added adjustment for Apple GEOS screen size.
X-Git-Tag: V2.13.3~23
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a589fdca808d57389f3f916364e52ab62097b97f;p=cc65
Added adjustment for Apple GEOS screen size.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5442 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
diff --git a/libsrc/geos-cbm/mousesprite/mouse.s b/libsrc/geos-cbm/mousesprite/mouse.s
index d267a9563..1889c4f95 100644
--- a/libsrc/geos-cbm/mousesprite/mouse.s
+++ b/libsrc/geos-cbm/mousesprite/mouse.s
@@ -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: