1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00
cc65/libsrc/nes/_scrsize.s
cuz 1a0c871976 NTSC/PAL update by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3831 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-10 20:15:28 +00:00

25 lines
284 B
ArmAsm

;
; Ullrich von Bassewitz, 2003-04-14
; Stefan Haubenthal, 2007-01-21
;
; Screen size function
;
.export screensize
.include "nes.inc"
.include "get_tv.inc"
.proc screensize
jsr _get_tv
ldx #charsperline
ldy #screenrows
cmp #TV::NTSC
beq nopal
dey
nopal: rts
.endproc