From: cpg Date: Tue, 1 Jul 2008 20:58:03 +0000 (+0000) Subject: Use RMARGN instead of a hard coded value for compatibility with XEP80. X-Git-Tag: V2.12.0~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=baf1e77645a298bcf429b7164dd52066217ac6c6;p=cc65 Use RMARGN instead of a hard coded value for compatibility with XEP80. Patch by Stefan Haubenthal. git-svn-id: svn://svn.cc65.org/cc65/trunk@3847 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atari/_scrsize.s b/libsrc/atari/_scrsize.s index 420505fa5..2d69d669e 100644 --- a/libsrc/atari/_scrsize.s +++ b/libsrc/atari/_scrsize.s @@ -5,10 +5,12 @@ ; .export screensize + .include "atari.inc" .proc screensize - ldx #40 + ldx RMARGN + inx ldy #24 rts