From a589fdca808d57389f3f916364e52ab62097b97f Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Sat, 4 Feb 2012 17:39:36 +0000
Subject: [PATCH] Added adjustment for Apple GEOS screen size.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5442 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
libsrc/geos-cbm/mousesprite/mouse.s | 7 +++++++
1 file changed, 7 insertions(+)
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:
--
2.39.5