From ab2b9d35e1ba6d3f0f60b5bbd3eda0d0c4c4df81 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 25 Jul 2000 20:06:34 +0000 Subject: [PATCH] Added new clock module implementing clock() and _clocks_per_sec(). git-svn-id: svn://svn.cc65.org/cc65/trunk@195 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/Makefile | 2 +- libsrc/atari/clock.s | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 libsrc/atari/clock.s diff --git a/libsrc/atari/Makefile b/libsrc/atari/Makefile index c66d9f41d..121c4fce4 100644 --- a/libsrc/atari/Makefile +++ b/libsrc/atari/Makefile @@ -21,7 +21,7 @@ S_OBJS = crt0.o kbhit.o conio.o clrscr.o cputc.o ctype.o chline.o cvline.o \ color.o gotoxy.o cclear.o revers.o readjoy.o break.o where.o write.o \ gotox.o gotoy.o savevec.o rwcommon.o cgetc.o read.o getargs.o close.o \ open.o oserror.o fdtable.o setcolor.o scroll.o mul40.o graphuse.o \ - ostype.o + ostype.o clock.o all: $(C_OBJS) $(S_OBJS) diff --git a/libsrc/atari/clock.s b/libsrc/atari/clock.s new file mode 100644 index 000000000..f4bda8469 --- /dev/null +++ b/libsrc/atari/clock.s @@ -0,0 +1,42 @@ +; +; Ullrich von Bassewitz, 25.07.2000 +; +; Implemented using information from Sidney Cadot