added compiler/assembler target, lib compiles

This commit is contained in:
mrdudz
2014-11-29 15:13:40 +01:00
parent faccc5a3d6
commit 86e6abfcd9
22 changed files with 0 additions and 0 deletions

23
libsrc/pce/clock.s Normal file
View File

@@ -0,0 +1,23 @@
;
; Ullrich von Bassewitz, 21.09.1998
;
; clock_t clock (void);
;
.include "pcengine.inc"
.export _clock
.importzp sreg
.proc _clock
ldy #0 ; Byte 3 is always zero
sty sreg+1
sty sreg
ldx _tickcount+1
lda _tickcount
rts
.endproc