; ; Ullrich von Bassewitz, 12.11.2002 ; ; time_t __fastcall__ time (time_t* timep); ; .export _time .import pusha, ldeaxi .importzp ptr1, sreg, tmp1, tmp2 .include "time.inc" .code .proc _time pha txa pha ; Save timep ; Get the time (machine dependent) .assert timespec::tv_sec = 0, error lda #CLOCK_REALTIME jsr pusha lda #