From 05831b3438b91cc1b880bb5b2b0a1e223b40a8e2 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 24 Jul 1987 13:24:19 +0000 Subject: [PATCH] System V has no ftime systemcall --- mach/mantra/libsys/ftime.s | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mach/mantra/libsys/ftime.s b/mach/mantra/libsys/ftime.s index 297a4f858..f0e367dcf 100644 --- a/mach/mantra/libsys/ftime.s +++ b/mach/mantra/libsys/ftime.s @@ -5,6 +5,12 @@ .sect .data .sect .bss .sect .text -_ftime: move.l #0x23,d0 +_ftime: clr.l -(sp) + jsr _time + lea 4(sp),sp move.l 4(sp),a0 - jmp callc + move.l d0,(a0) + clr.l 4(a0) + clr.w 8(a0) + clr.l d0 + rts -- 2.34.1