Mail Archives: djgpp/1992/04/17/14:51:22
The address of the BIOS clock tick count variable is incorrect in the
clock() library routine. The source file is: .../libsrc/c/sys/clock.s.
The following patch fixes the problem:
---------------- begin patch ------------------------
*** clock.old Fri Apr 17 12:23:16 1992
--- clock.s Wed Apr 15 15:50:24 1992
***************
*** 20,24 ****
.globl _clock
_clock:
! movl 0xe000046e,%eax
cmp $0,clock_init
jne clock_initted
--- 20,24 ----
.globl _clock
_clock:
! movl 0xe000046c,%eax
cmp $0,clock_init
jne clock_initted
--------------- end patch --------------------------
Csaba Biegl
csaba AT vuse DOT vanderbilt DOT edu
- Raw text -