NTSC/PAL update by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3831 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2008-04-10 20:15:28 +00:00
parent 6787fb362f
commit 1a0c871976
2 changed files with 16 additions and 48 deletions

View File

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