dcf77 was written to use the gameport dcf77 receiver 
to set the linux system clock.

This program is y2k save until 2099, the dcf signal has 
only two digits for the year, so we have to check if year 
is lether than 99 and we assume we are in the next century.  

I choosed the gameport for the clock because ever
computer has it today and on a linux-server normaly
nothing is plugged in. The serialports are all in use
on my computer. 

The program is polling the gameport, but the loop is 
very small, it does not eat very much cpu-time to do this.

The decoded time migth be about 10ms after time, but
this is no problem for me. I don't use adjtime because
i had problems to keep the xntpd in sync, maybe someone
can help me to fix this problem.

Have fun.

Hans-Helmar Althaus <althaus@ep3.ruhr-uni-bochum.de>