mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
21 lines
336 B
ArmAsm
21 lines
336 B
ArmAsm
|
;
|
||
|
; 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
|