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
This commit is contained in:
parent
c7aae0d3d8
commit
baf1e77645
1 changed files with 3 additions and 1 deletions
|
@ -5,10 +5,12 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
.export screensize
|
.export screensize
|
||||||
|
.include "atari.inc"
|
||||||
|
|
||||||
.proc screensize
|
.proc screensize
|
||||||
|
|
||||||
ldx #40
|
ldx RMARGN
|
||||||
|
inx
|
||||||
ldy #24
|
ldy #24
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue