add clock() to RP6502

This commit is contained in:
rumbledethumps
2024-01-10 21:24:55 -08:00
parent 8aa59e4af3
commit 2138f3c902
3 changed files with 10 additions and 0 deletions

7
libsrc/rp6502/clock.c Normal file
View File

@@ -0,0 +1,7 @@
#include <rp6502.h>
#include <time.h>
clock_t __fastcall__ clock (void)
{
return ria_call_long (RIA_OP_CLOCK);
}