• Please review our updated Terms and Rules here

Clock driver for Olivetti M24 and AT&T 6300 - Assembler?

freakedenough

Experienced Member
Joined
Jul 30, 2016
Messages
94
Location
Vienna, AT
The hardware clock only counts up to 4095 days from the
"zero" date, which was previously set at 1984.01.01. This
release changes the "zero" date to 1992.01.01. M24CLK will
therefore fail again after 2003.03.18.

Well, who is able to program in 8086 Assembler? Can this tool be updated to work from 2016 on for another 4095 days?
 

Attachments

  • m24clk11.zip
    11.8 KB · Views: 2
Yes, it should be easy to update in the same way as was done in 1992. If I did the calculation correctly, setting the start date to Jan 1, 2016 would require changing

BIAS dw (366+3*365)*3 ; # days between 1980.01.01
; and 1992.01.01

to

BIAS dw (366+3*365)*9 ; # days between 1980.01.01
; and 2016.01.01

Double check that I got the number of days correct. I think 13149 days occurred in the 36 years. Recompile and done.
 
Back
Top