2002-11-12 22:49:38 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 12.11.2002
|
|
|
|
;
|
|
|
|
; time_t _systime (void);
|
|
|
|
; /* Similar to time(), but:
|
|
|
|
; * - Is not ISO C
|
|
|
|
; * - Does not take the additional pointer
|
|
|
|
; * - Does not set errno when returning -1
|
|
|
|
; */
|
|
|
|
;
|
|
|
|
|
2005-03-26 17:03:30 +00:00
|
|
|
.export __systime
|
2002-11-12 22:49:38 +00:00
|
|
|
|
2005-03-26 17:03:30 +00:00
|
|
|
.include "zeropage.inc"
|
2002-11-12 22:49:38 +00:00
|
|
|
|
2005-01-06 12:26:47 +00:00
|
|
|
__systime:
|
2002-11-12 22:49:38 +00:00
|
|
|
lda #$FF
|
|
|
|
tax
|
|
|
|
sta sreg
|
|
|
|
sta sreg+1
|
|
|
|
rts ; Return -1
|