mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Corrected screensize function by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5026 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d6ac067afc
commit
9c17760227
@ -1,6 +1,6 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 2003-04-14
|
||||
; Stefan Haubenthal, 2007-01-21
|
||||
; Stefan Haubenthal, 2011-05-11
|
||||
;
|
||||
; Screen size function
|
||||
;
|
||||
@ -16,9 +16,9 @@
|
||||
jsr _get_tv
|
||||
ldx #charsperline
|
||||
ldy #screenrows
|
||||
cmp #TV::NTSC
|
||||
beq nopal
|
||||
dey
|
||||
nopal: rts
|
||||
cmp #TV::PAL
|
||||
beq pal
|
||||
dey ; NTSC rows
|
||||
pal: rts
|
||||
|
||||
.endproc
|
||||
|
Loading…
x
Reference in New Issue
Block a user