| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
|  |  |  | | No screenshot available | 
 |  | 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.
 |  | 
 Contents of driver/other/TimeServY2K.lha
  PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6188   11924  51.9% -lh5- 7565 May 30  2001 TimeServY2K
[generic]                  181     279  64.9% -lh5- 2a57 Jun  1  2001 TimeServY2K.info
[generic]                  503     917  54.9% -lh5- fe18 Jun  1  2001 TimeServY2K.readme
[generic]                  178     361  49.3% -lh5- be06 Jun  1  2001 TimeServY2K.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    7050   13481  52.3%            Jun  4  2001
 | 
 |  | 
|  | 
| Page generated in 0.06 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |