mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
21 lines
366 B
ArmAsm
21 lines
366 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 2002-12-03
|
|
;
|
|
; unsigned char get_tv (void);
|
|
; /* Return the video mode the machine is using */
|
|
;
|
|
|
|
.include "c64.inc"
|
|
.include "get_tv.inc"
|
|
|
|
;--------------------------------------------------------------------------
|
|
; _get_tv
|
|
|
|
.proc _get_tv
|
|
|
|
lda PALFLAG
|
|
ldx #0
|
|
rts
|
|
|
|
.endproc
|