From baf1e77645a298bcf429b7164dd52066217ac6c6 Mon Sep 17 00:00:00 2001 From: cpg Date: Tue, 1 Jul 2008 20:58:03 +0000 Subject: [PATCH] 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 --- libsrc/atari/_scrsize.s | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5