AminetAminet
Search:
84476 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/other/TimeServY2K.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Year 2000 patch of TimeServ for Sidecar
Author:holger.graefe at gmx.de (Holger Graefe)
Uploader:holger graefe gmx de (Holger Graefe)
Type:driver/other
Architecture:m68k-amigaos
Date:2001-06-04
Download:http://aminet.net/driver/other/TimeServY2K.lha - View contents
Readme:http://aminet.net/driver/other/TimeServY2K.readme
Downloads:577

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

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>