Discussion:
14694 years
(too old to reply)
T. Ment
2019-12-13 15:12:04 UTC
Permalink
The DESQview installation check overloads the set system date interrupt
(21h/2bh) with an invalid year (> 2099). Even if you patch DOS to handle
later years, other software relies on the same trick, with CX values as
low as 4149h, according to RBIL.

4149h is 16713 decimal, so 14694 years from now, DOS will need a rebased
calendar.
JJ
2019-12-13 16:44:21 UTC
Permalink
Post by T. Ment
The DESQview installation check overloads the set system date interrupt
(21h/2bh) with an invalid year (> 2099). Even if you patch DOS to handle
later years, other software relies on the same trick, with CX values as
low as 4149h, according to RBIL.
4149h is 16713 decimal, so 14694 years from now, DOS will need a rebased
calendar.
That won't even be applicable, because the CMOS only supports 4 digits year.
So, even if DOS is modified to support year > 2099, it can't get pass
through year 9999 reliably unless the system is never rebooted.

Loading...