Moved more files with cleanup

git-svn-id: svn://svn.cc65.org/cc65/trunk@2118 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-05-02 13:40:01 +00:00
parent 6af35e774d
commit d53211198b
8 changed files with 397 additions and 6 deletions

24
libsrc/nes/clock.s Normal file
View File

@@ -0,0 +1,24 @@
;
; Written by Groepaz/Hitmen <groepaz@gmx.net>
; Cleanup by Ullrich von Bassewitz <uz@cc65.org>
;
; clock_t clock (void);
;
.include "nes.inc"
.export _clock
.importzp sreg
.proc _clock
ldy #0 ; High word is always zero
sty sreg+1
sty sreg
ldx tickcount+1 ; ## Problem: Cannot disable ints here
lda tickcount
rts
.endproc