]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/clock.s
Included a header that defines NULL.
[cc65] / libsrc / cbm / clock.s
index b03cd12ddc5b3df1686b7a0fc2bf1019db2c06a9..ce36e3af5f065c6375d3bd907e7da16baf0d8c70 100644 (file)
@@ -4,19 +4,19 @@
 ; clock_t clock (void);
 ;
 
-       .export         _clock
-       .importzp       sreg
+        .export         _clock
+        .import         RDTIM
+        .importzp       sreg
 
-       .include        "cbm.inc"
 
 
-.proc  _clock
+.proc   _clock
 
-       lda     #0              ; Byte 3 is always zero
-               sta     sreg+1
-       jsr     RDTIM
-       sty     sreg
-       rts                     ; Don't set CC, this has no meaning here
+        lda     #0              ; Byte 3 is always zero
+        sta     sreg+1
+        jsr     RDTIM
+        sty     sreg
+        rts
 
 .endproc