From da6d928afb1e2d58d925fa697a6181ca0f065e22 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 24 Oct 2003 18:39:48 +0000 Subject: [PATCH] Use ROM variables MAX_X/MAX_Y git-svn-id: svn://svn.cc65.org/cc65/trunk@2575 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/apple2/_scrsize.s | 4 ++-- libsrc/apple2/apple2.inc | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/libsrc/apple2/_scrsize.s b/libsrc/apple2/_scrsize.s index df849510c..3f496454b 100644 --- a/libsrc/apple2/_scrsize.s +++ b/libsrc/apple2/_scrsize.s @@ -10,8 +10,8 @@ .proc screensize - ldx #XSIZE - ldy #YSIZE + ldx MAX_X + ldy MAX_Y rts .endproc diff --git a/libsrc/apple2/apple2.inc b/libsrc/apple2/apple2.inc index 6b89bfba3..c79bb2859 100644 --- a/libsrc/apple2/apple2.inc +++ b/libsrc/apple2/apple2.inc @@ -20,12 +20,6 @@ MEMSIZE = $73 ; Highest free RAM location BRKVec = $03F0 ; Break vector RESTOR = $03D0 ; Goto Dos -; --------------------------------------------------------------------------- -; Screen size - -XSIZE = 40 -YSIZE = 24 - ;----------------------------------------------------------------------------- ; Hardware -- 2.39.5