unsigned _clocks_per_sec (void);
# define CLK_TCK _clocks_per_sec()
# define CLOCKS_PER_SEC _clocks_per_sec()
+#elif defined(__ATARI5200__)
+# define CLK_TCK 60 /* POSIX */
+# define CLOCKS_PER_SEC 60 /* ANSI */
#elif defined(__ATMOS__)
# define CLK_TCK 100 /* POSIX */
# define CLOCKS_PER_SEC 100 /* ANSI */
; unsigned _clocks_per_sec (void);
;
- .export _clock, __clocks_per_sec
+ .export _clock
.importzp sreg
.include "atari5200.inc"
rts
.endproc
-
-
-.proc __clocks_per_sec
-
- ldx #$00 ; Clear high byte of return value
- lda #60
- rts
-
-.endproc