diff options
author | Javier <dev.git@javispedro.com> | 2022-04-30 21:45:45 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-30 21:45:45 +0200 |
commit | 3b240b60f05bd6fec34413791e1d215afc2bdde5 (patch) | |
tree | d7f16d7114e6f3c3ca9536074d96c5815a85f03a /unixtime.h | |
parent | 9595ebb6348544a2945470a5f271de7b58549bcd (diff) | |
download | vbados-3b240b60f05bd6fec34413791e1d215afc2bdde5.tar.gz vbados-3b240b60f05bd6fec34413791e1d215afc2bdde5.zip |
refactor: switch debug log to a more convenient printf-like API
Diffstat (limited to 'unixtime.h')
-rw-r--r-- | unixtime.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -140,7 +140,7 @@ static void timestampns_to_dos_time(uint16_t __far *dos_time, uint16_t __far *do day = 1 + days_since_epoch; // (day is 1-based) if (year < DOS_EPOCH_YEAR) { - dlog_puts("Year is too old, will show as 0"); + dputs("Year is too old, will show as 0"); year = 0; } else { year -= DOS_EPOCH_YEAR; @@ -179,12 +179,6 @@ static void timestampns_from_dos_time(int64_t *timestampns, uint16_t dos_time, u seconds2_since_day = seconds2 + (minutes * 60U/2) + (hours * 3600U/2); - dlog_print("days_since_epoch="); - dlog_printd(days_since_epoch); - dlog_print(" seconds2_since_day="); - dlog_printd(seconds2_since_day); - dlog_endline(); - __asm { push eax push ecx |