Added c16/plus4 fast(), isfast() and slow() functions, and updated the documentation accordingly.
This commit is contained in:
22
libsrc/plus4/fast.s
Normal file
22
libsrc/plus4/fast.s
Normal file
@@ -0,0 +1,22 @@
|
||||
;
|
||||
; Marco van den Heuvel, 2018-03-20
|
||||
;
|
||||
; void fast (void);
|
||||
; /* Switch the CPU into double clock mode. */
|
||||
;
|
||||
|
||||
.export _fast
|
||||
|
||||
.include "plus4.inc"
|
||||
|
||||
|
||||
.proc _fast
|
||||
|
||||
lda TED_CLK
|
||||
and #%11111101
|
||||
sta TED_CLK
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user