Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: RTE200- ple...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 9 Topic 164 of 1114
Post > Topic >>

Re: RTE200- plenty of advice for crt, none for tpcrt

by Dr John Stockton <spam@[EMAIL PROTECTED] > Aug 16, 2003 at 04:36 PM

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.
 




 9 Posts in Topic:
RTE200- plenty of advice for crt, none for tpcrt
jeremy <jeremy@[EMAIL   2003-08-16 10:36:30 
Re: RTE200- plenty of advice for crt, none for tpcrt
Wolfgang.Ehrhardt.PLEASE.  2003-08-16 19:19:28 
Re: RTE200- plenty of advice for crt, none for tpcrt
prino@[EMAIL PROTECTED]   2003-08-16 14:21:50 
Re: RTE200- plenty of advice for crt, none for tpcrt
Jeremy Fried <jeremy@[  2003-08-17 20:02:21 
Re: RTE200- plenty of advice for crt, none for tpcrt
Dr John Stockton <spam  2003-08-16 16:36:35 
Re: RTE200- plenty of advice for crt, none for tpcrt
W.Riedel@[EMAIL PROTECTED  2003-08-17 15:50:30 
Re: RTE200- plenty of advice for crt, none for tpcrt
Dr John Stockton <spam  2003-08-17 18:31:12 
Re: RTE200- plenty of advice for crt, none for tpcrt
W.Riedel <Riedel@[EMAI  2003-08-20 11:15:30 
Re: RTE200- Binary Patch
"kevpp27" <k  2004-03-18 19:35:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 2:09:37 CDT 2008.