home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Exec 5
/
CD_Magazyn_EXEC_nr_5.iso
/
Recent
/
hard
/
drivr
/
TimeServY2K.readme
< prev
Wrap
Text File
|
2001-06-11
|
917b
|
20 lines
Short: Year 2000 patch of TimeServ for Sidecar
Author: holger.graefe@gmx.de (Holger Graefe)
Uploader: holger.graefe@gmx.de (Holger Graefe)
Type: hard/drivr
The original "TimeServ" program, which synchronizes the PC clock with the
Amiga's system time has a year-2000-bug: If the year is greater than 1999
it will be sent to the PC as "191xx" with "xx" being the last digits of
the year. For example, the year 2001 will be sent as "19101" and be
interpreted as "1910" by taking the first digits.
The program (on the Amiga's side) takes the four-digit year and subtracts
1900. The result is printed with the "printf" parameter "19%2d". These
are the things I have changed in the patch: Now the subtraction is set
to 0 and the "printf" format is changed to "%0004d" (to keep the same
length - I have no source code!). This works fine with my Sidecar, but
shall also work with the BridgeBoard.
Holger.