add get_tv()
This commit is contained in:
parent
c8f7f2f161
commit
361da29e51
1 changed files with 20 additions and 0 deletions
20
libsrc/atari5200/get_tv.s
Normal file
20
libsrc/atari5200/get_tv.s
Normal file
|
@ -0,0 +1,20 @@
|
|||
;
|
||||
; Christian Groessler, 2014
|
||||
;
|
||||
; unsigned char get_tv (void);
|
||||
; /* Return the video mode the machine is using */
|
||||
;
|
||||
|
||||
.include "get_tv.inc"
|
||||
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
; _get_tv
|
||||
|
||||
.proc _get_tv
|
||||
|
||||
lda #<TV::NTSC
|
||||
ldx #>TV::NTSC
|
||||
rts
|
||||
|
||||
.endproc
|
Loading…
Add table
Reference in a new issue