2 ; Stefan Haubenthal, 2009-07-27
3 ; Ullrich von Bassewitz, 2009-09-24
5 ; time_t _systime (void);
6 ; /* Similar to time(), but:
8 ; ** - Does not take the additional pointer
9 ; ** - Does not set errno when returning -1
17 .import sys_bank, restore_bank
21 ;----------------------------------------------------------------------------
26 ; Switch to the system bank
51 lda (cia2),y ; Dummy read to unfreeze
65 ;----------------------------------------------------------------------------
66 ; dec = (((BCD>>4)*10) + (BCD&0xf))
85 ;----------------------------------------------------------------------------
86 ; TM struct with date set to 1970-01-01