From: cuz Date: Fri, 24 Oct 2003 18:39:48 +0000 (+0000) Subject: Use ROM variables MAX_X/MAX_Y X-Git-Tag: V2.12.0~1219 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da6d928afb1e2d58d925fa697a6181ca0f065e22;p=cc65 Use ROM variables MAX_X/MAX_Y git-svn-id: svn://svn.cc65.org/cc65/trunk@2575 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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