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
|
|
|
|
; */
|
|
|
|
;
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.export __systime
|
2002-11-12 22:49:38 +00:00
|
|
|
|
|
|
|
.importzp sreg
|
|
|
|
|
|
|
|
.code
|
|
|
|
|
|
|
|
.proc __systime
|
|
|
|
|
|
|
|
lda #$FF
|
|
|
|
tax
|
|
|
|
sta sreg
|
|
|
|
sta sreg+1
|
|
|
|
rts ; Return -1
|
|
|
|
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|