JRS: In article <3F3E6B9E.7476BD97@[EMAIL PROTECTED]
>, seen in
news:comp.lang.pascal.borland, jeremy <jeremy@[EMAIL PROTECTED]
> posted at Sat, 16
Aug 2003 10:36:30 :-
>As a newsgroup newbie, I've tried hard to avoid a naive posting, and now
>know full well that the RTE200 problem has been around and no doubt
>hashed and rehashed for years.
>
>Toward that end, I've been perusing the web for days seeking an RTE200
>fix for programs founded on Turbo Professional's tpcrt unit. There's
>plenty of advice around on fixing the crt bug (in so many different
>ways), but I can't find any on fixing the analogous issue on tpcrt. I am
>not an assembly language programmer, so would be flailing about if I
>attempted to adapt the crt advice to tpcrt. I have the tpcrt source
>(5.20) and BP 7.0 but the turbo power software site is essentially
>dead-- their news groups and knowledge bases are gone since they shut
>down 8 months ago, and their e-mail address is a dead end.
>
>Some reader of this group MUST have encountered and resolved this tpcrt
>(not crt) problem; I'd be most grateful if someone would share their
>solution with me.
It seems that none of those who have solved the problem have been
willing to share it with us, or at least that the FAQ maintainer of the
time never noticed, or felt that the TurboPower site would suffice.
AIUI, like Borland Crt, TPCrt does various things. In particular, it
initialises and provides a Delay function, and it does a lot else.
If you only want the latter, then it will be sufficient to neutralise
the Delay initialisation and not use TPCrt.Delay. Assuming that you can
actually assemble the source, it should be possible to locate the Delay
routine (seek Delay:), spot where it uses an initialised variable
(DelayCnt), spot where that is initialised, replace the failing
instruction (DIV CX) and the next (MOV DelayCnt,AX) with NOP
instructions, and arrange that the declaration of (DelayCnt) loads it
with something tolerable, say 65535. Parentheses indicate what the
Borland unit uses.
Watch out, though, for other parts of TPCrt that might use Delay.
If you need some sort of delay, it can be programmed by other means -
see my site, via below - <URL:http://www.merlyn.demon.co.uk/pas-
extn.htm#NoCrt> and elsewhere.
--
© John Stockton, Surrey, UK. ?@[EMAIL PROTECTED]
Turnpike v4.00
MIME. ©
<URL:http://www.merlyn.demon.co.uk/>
TP/BP/Delphi/&c., FAQqy topics &
links;
<URL:http://www.merlyn.demon.co.uk/clpb-faq.txt>
RAH Prins : c.l.p.b
mFAQ;
<URL:ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal
FAQ.


|