🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #201

Re: Runtime error 200 is back!

#201
From: Robert AH Prins
Date: Fri, 18 Feb 2000 00:00
86 lines
3614 bytes
In article <38AC0700.F913C533@uk.pwcglobal.com>,
  Jan Forsberg <Jan.Forsberg@uk.pwcglobal.com> wrote:
> The old problem is back, even though I am using a patch that have
> been working for 2 years.  Am I going nuts or is there someone else
> with the same problem??  Please try your patched Borland Pascal exes
> on the latest Pentium III machines.

They run OK :-)

> This is my situation :
>
> The application is compiled using Borland Pascal 7.01.  I have
> compiles both for real and protected mode.
>
> The two client machines I am using are :
> - Compaq DeskPro, Pentium II 450 Mhz, Windows NT 4.0 with SP6b
> - Compaq DeskPro, Pentium III 550 Mhz, Windows NT 4.0 with SP6b
>
> The exe-files are placed on a Novell Netware 3.12 server.  Both
> machines are running the same exe-files.
>
> The 450Mhz can happily start both real and protected mode versions of
> my application.
>
> The 550Mhz can not start neither the real or protected mode version.
> It displays the message 'Runtime error 200'.
>
> I have without any success tried to :
> - use Windows 95
> - use Windows NT 4.0 with SP4
> - in the properties of a shortcut change the settings for memory
> protection and sizes.
>
> The patch I am using was downloaded 2 years ago, I do not remember
> from where. The name of it is T-PENT2.ZIP.  PkZip 2.04g shows the
> following contents:

<snip>

> The source code file Pent2.pas shows that the patch is
> - searching for the string
>
> #$f7+#$d0+#$f7+#$d2+#$b9+#$37+#$00+#$f7+#$f1;
>
> - replacing the first byte with #$7E

This does not make any sense, replacing a "not ax" with a "jle 005c", I
think you should have a look at the source of this patch. My guess is
that it replaces the $37 with $7E, which would give a perfect
explanation for what you're experiencing:

$37 =  55 -> crt fails at 200Mhz
$7E = 126 (= 55 * 2.3) -> crt fails at 460 MHz

Solutions:

- If you're not interested in delay, change $7E into $FF, and you will
be safe until later this year, when the first 930+ MHz CPUs appear, at
that moment you will have to change the original $37 $00 into at least
$00 $01. If you change them straight away into $ff $ff, you're safe
until the arrival of the first 233GHz (name deleted for trademark
reasons) ;-)

- Read the FAQ that is posted in comp.lang.pascal.borland every
Sunday, and

a) apply a better patch, or
b) download Pedt Scragg's optimized CRT

(FAQ URL: <http://homepages.force9.net/pascal/faq/clpb-faq.txt>)

> Please, someone, tell me I am not going nuts.

You're not, you're just using an outdated patch.

Reply x-posted to c.l.p.b, to give a wider audience a warning about this
patch that has clearly reached its sell-by date.

Robert
--
Robert AH Prins
prinsra@willis.com


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <88j1n5$jje$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38AC0700.F913C533@uk.pwcglobal.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111659,dae8d3b825c522dc
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,846db574ac04610a
X-Google-Attributes: gid108ebd,public
From: Robert AH Prins <prinsra@williscorroon.com>
Subject: Re: Runtime error 200 is back!
Date: 2000/02/18
Message-ID: <88j1n5$jje$1@nnrp1.deja.com>
X-Deja-AN: 587040895
References: <38AC0700.F913C533@uk.pwcglobal.com>
To: Jan.Forsberg@uk.pwcglobal.com
X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I)
X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 193.130.234.1
Organization: .
X-Article-Creation-Date: Fri Feb 18 09:00:23 2000 GMT
X-MyDeja-Info: XMYDJUIDprino
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal