From: ol.sc
Date: Thu, 9 Feb 2012 10:40:59 +0000 (+0000)
Subject: The actual screensize routine mustn't be placed in the "INIT" segment.
X-Git-Tag: V2.14~549
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=14c3956ea6b6226dc0e8cd4ee26473e8a8880c1f;p=cc65
The actual screensize routine mustn't be placed in the "INIT" segment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5514 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
diff --git a/libsrc/geos-common/conio/_scrsize.s b/libsrc/geos-common/conio/_scrsize.s
index b0aeabeb6..030e38edd 100644
--- a/libsrc/geos-common/conio/_scrsize.s
+++ b/libsrc/geos-common/conio/_scrsize.s
@@ -38,6 +38,8 @@ L1: lda #40 ; 40 columns (more or less)
txa
jmp _cursor ; home and update cursor
+.code
+
screensize:
ldx xsize
ldy ysize