>200 MHZ, 200 error continued ... 
Author Message
 >200 MHZ, 200 error continued ...

I've had the problem and corrected it in the CRT unit. It's worked fine on a
200 machine, but on a 300 machine the problem has returned. I've removed all
the delay-code and initialisation code around Delay, but the problem doesn't
go away.

Has anyone out there experienced the same, is there another bug in the
runtime-library, that has anything with machine-speed to do, please anyone.
The truth is in here (i hope) ?

Jens Kristensen, Denmark



Wed, 18 Jun 1902 08:00:00 GMT  
 >200 MHZ, 200 error continued ...

Quote:

>I've had the problem and corrected it in the CRT unit. It's worked fine on a
>200 machine, but on a 300 machine the problem has returned. I've removed all
>the delay-code and initialisation code around Delay, but the problem doesn't
>go away.

If you fix it correctly it does not reappear. Do not arbitrarily remove
code. Instead fix the problem:

CRT.ASM

DelayCnt        DW      ?
DelayCntHi      dw      ?     ; added for delay bug fix
...

        MOV     CX,55

        ; begin added code for delay bug fix

        push    ax              ; save ax for the second division
        mov     ax,dx
        xor     dx,dx           ; dx:ax := 0:dx
        div     cx              ; ax:=orig dx / 55, dx:=orig dx mod 55
        mov     DelayCntHi,ax   ; save the high part of cnt
        pop     ax              ; dx:ax = orig dx mod 55: orig ax
                                ; now the division is safe

        ; end code for delay bug fix

        DIV     CX

        ...

        ;XOR     DX,DX         ; commented out for delay bug fix
        mov     dx,DelayCntHi  ; added for delay bug fix

Quote:
>Has anyone out there experienced the same, is there another bug in the
>runtime-library, that has anything with machine-speed to do, please anyone.
>The truth is in here (i hope) ?

Or maybe the bug is in your code.

Quote:

>Jens Kristensen, Denmark

Osmo


Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Error 200 at 800 Mhz with BP7

2. Runtime Error 200 auf PC mit 800 MHz

3. Runtime Error 200 on High Mhz NT Machines ??????

4. Ann: Patch for Crt's 200 MHz bug available

5. Runtime 200 bug again - but Intel >400MHz

6. Err 200 on Win 95 > 2GB HD

7. ERROR 200:Div. by zero

8. error 200 on blockread (w/ patched tpl files)

9. Object Pro Opcrt unit runtime error 200

10. runtime error 200

11. Error 200

12. Patch for LFN and error 200

 

 
Powered by phpBB® Forum Software