Re: Error de carga del RTC.SYS
Publicado: 18 Oct 2019, 00:48
The source code for the "fake" RTC.SYS is available from the repository, at /software/rtcsys. It's just the RTC.SYS from Fabio and Victor, but returning always the same date and time. This is the format:
You could start from this bare bones module to add support from a kind of time keeping. Just use the FRAMES system variable as a counter with a resolution of 20 miliseconds per count. 50 counts are 1 second.
Código: Seleccionar todo
; OUTPUT ; reg BC is Date ; year - 1980 (7 bits) + month (4 bits) + day (5 bits) ; ; reg DE is Time ; hours (5 bits) + minutes (6 bits) + seconds/2 (5 bits)