View Single Post
Old 24 April 2017, 22:07   #96
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 20,646
Originally Posted by mark_k View Post
How do you emulate >=2000 years in the MSM6242B? ComspecSCSI.device seems to treat year <78 as meaning 2000+year. In other words, for 2017 you'd need to have 17 in the year registers. So 7 in 1-year digit register, 1 in 10-year digit register. And it requires 10×(10-year reg) + (1-year reg) be <= 99.
It uses invalid BCD values (2017 = 117 = B7), this is more AmigaOS compatible.

Surprisingly Comspec accepts the date (and it even is printed correctly) if year value is 17 (instead of 117). So Comspec now uses different method.
Toni Wilen is online now  
Page generated in 0.09354 seconds with 9 queries