1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
cc65/testcode/lib/clock.c
Oliver Schmidt 98c47d1877 Introduced target 'atarixl'.
The target 'atarixl' is to be used for Atari XL (and better) machines.
It will disable the OS ROM and enable the Shadow RAM available on
those machine.

Note: This commit is only the inital step towards for this goal that just
replicates the target 'atari' as a starting point!
2013-05-28 21:56:37 +02:00

25 lines
416 B
C

/*
* simple clock test
*
* 06-Nov-2001, Christian Groessler
*/
#include <stdio.h>
#include <conio.h>
#include <time.h>
int main(void)
{
printf("\ncc65 time routines test program\n");
printf("-------------------------------\n");
printf("clocks per second: %d\n", CLOCKS_PER_SEC);
printf("current clock: %ld\n", clock());
printf("hit <return> to exit...");
cgetc();
printf("\n");
return(0);
}