mirror of
https://github.com/cc65/cc65.git
synced 2025-02-19 06:30:53 +00:00
add get_tv()
This commit is contained in:
parent
c8f7f2f161
commit
361da29e51
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…
x
Reference in New Issue
Block a user