mirror of
https://github.com/cc65/cc65.git
synced 2024-08-17 03:29:15 +00:00
23 lines
367 B
ArmAsm
23 lines
367 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 2002-12-03
|
|
;
|
|
; unsigned char __fastcall__ 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
|
|
|
|
|