1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Update isfast.s

This commit is contained in:
Stefan 2019-11-19 19:22:53 +01:00 committed by Oliver Schmidt
parent df752ff7a5
commit 2c34723a97

View File

@ -1,22 +1 @@
;
; Marco van den Heuvel, 2018-03-20
;
; unsigned char isfast (void);
; /* Returns 1 if the CPU is in double clock mode. */
;
.export _isfast
.include "plus4.inc"
.proc _isfast
lda TED_CLK
lsr
and #$01
ldx #$00
rts
.endproc
.include "../plus4/isfast.s"