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:
@@ -1,6 +1,6 @@
|
|||||||
;
|
;
|
||||||
; Ullrich von Bassewitz, 2003-04-14
|
; Ullrich von Bassewitz, 2003-04-14
|
||||||
; Stefan Haubenthal, 2007-01-21
|
; Stefan Haubenthal, 2011-05-11
|
||||||
;
|
;
|
||||||
; Screen size function
|
; Screen size function
|
||||||
;
|
;
|
||||||
@@ -16,9 +16,9 @@
|
|||||||
jsr _get_tv
|
jsr _get_tv
|
||||||
ldx #charsperline
|
ldx #charsperline
|
||||||
ldy #screenrows
|
ldy #screenrows
|
||||||
cmp #TV::NTSC
|
cmp #TV::PAL
|
||||||
beq nopal
|
beq pal
|
||||||
dey
|
dey ; NTSC rows
|
||||||
nopal: rts
|
pal: rts
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|||||||
Reference in New Issue
Block a user