Discussion:
TP7 error 200, divide by zero on Win7 AtomCPU Netbook?
(too old to reply)
n***@gmail.com
2011-04-18 13:59:53 UTC
Permalink
I used to use Turbo Pascal some years ago.

But when my I ISP said I couldn't use Win3 and I'd have to
buy W95, I said 'screw you' and changed to Linux and
ETH Oberon. Now M$ has screwed me by convincing the
wireless modem manufacturer to play "must buy WinTel
products". So I bought this lame Win7 NetBook.

I copied my TP7 directory to the Win7 thing, but I get:
error 200 divide by zero
when I compile/run the \examples\crtdemo.pas

I've just checked: compiled/ran the crtdemo.pas on
the original disk on the old PC and it runs OK.

Should I suspect a file-copy error, or is the AtomCPU
designed by M$ to reject Borland products.

I have the original boxed TP7 with books & 5.xx inch disks,
which could be a problem to get into the netbooks USB.

Please advise. Yes I want to run in DOS mode - I think.


Thanks,

== Chris Glur.
Maarten Wiltink
2011-04-18 15:00:52 UTC
Permalink
Post by n***@gmail.com
I used to use Turbo Pascal some years ago.
But when my I ISP said I couldn't use Win3 and I'd have to
buy W95, I said 'screw you' and changed to Linux and
ETH Oberon. Now M$ has screwed me by convincing the
wireless modem manufacturer to play "must buy WinTel
products". So I bought this lame Win7 NetBook.
error 200 divide by zero
when I compile/run the \examples\crtdemo.pas
I've just checked: compiled/ran the crtdemo.pas on
the original disk on the old PC and it runs OK.
Should I suspect a file-copy error, or is the AtomCPU
designed by M$ to reject Borland products.
I have the original boxed TP7 with books & 5.xx inch disks,
which could be a problem to get into the netbooks USB.
Please advise. Yes I want to run in DOS mode - I think.
That sounds like the CRT unit's processor speed calibration.
It's a short loop that's run once at initialisation, and then
the instruction count (known) is divided by the elapsed time
(measured) to get processor speed. This can then be used for
delays so short that a spin loop is the best implementation.

Then computers became so fast that the elapsed time became zero.

There's a fixed CRT unit somewhere. I trust that with this
information, you can find it.

(You mean those floppies are still readable?)

Groetjes,
Maarten Wiltink
Jamie
2011-04-18 23:50:13 UTC
Permalink
Post by Maarten Wiltink
Post by n***@gmail.com
I used to use Turbo Pascal some years ago.
But when my I ISP said I couldn't use Win3 and I'd have to
buy W95, I said 'screw you' and changed to Linux and
ETH Oberon. Now M$ has screwed me by convincing the
wireless modem manufacturer to play "must buy WinTel
products". So I bought this lame Win7 NetBook.
error 200 divide by zero
when I compile/run the \examples\crtdemo.pas
I've just checked: compiled/ran the crtdemo.pas on
the original disk on the old PC and it runs OK.
Should I suspect a file-copy error, or is the AtomCPU
designed by M$ to reject Borland products.
I have the original boxed TP7 with books & 5.xx inch disks,
which could be a problem to get into the netbooks USB.
Please advise. Yes I want to run in DOS mode - I think.
That sounds like the CRT unit's processor speed calibration.
It's a short loop that's run once at initialisation, and then
the instruction count (known) is divided by the elapsed time
(measured) to get processor speed. This can then be used for
delays so short that a spin loop is the best implementation.
Then computers became so fast that the elapsed time became zero.
There's a fixed CRT unit somewhere. I trust that with this
information, you can find it.
(You mean those floppies are still readable?)
Groetjes,
Maarten Wiltink
I wrote a replacement CRT for that, it also included mouse, window and
component functions in it.

Jamie
Dr J R Stockton
2011-04-19 21:30:09 UTC
Permalink
In comp.lang.pascal.delphi.misc message <4dac5227$0$81476$***@news.
xs4all.nl>, Mon, 18 Apr 2011 17:00:52, Maarten Wiltink
Post by Maarten Wiltink
There's a fixed CRT unit somewhere. I trust that with this
information, you can find it.
There are numerous fixes of varied merit. See sig.

Perhaps the FAQ of this group should link to comp.lang.pascal.borland
and its FAQ, where reliable answers are given.

In the c.l.p.d.m FAQ, Borland Delphi Newsgroups
http://newsgroups.borland.com/cgi-bin/dnewsweb?cmd=listall&group=borland
.public.delphi.&utag= may be dead.
--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
<http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<http://www.merlyn.demon.co.uk/clpb-faq.txt> RAH Prins : c.l.p.b mFAQ;
<ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal FAQ.
Jamie
2011-04-18 23:48:38 UTC
Permalink
Post by n***@gmail.com
I used to use Turbo Pascal some years ago.
But when my I ISP said I couldn't use Win3 and I'd have to
buy W95, I said 'screw you' and changed to Linux and
ETH Oberon. Now M$ has screwed me by convincing the
wireless modem manufacturer to play "must buy WinTel
products". So I bought this lame Win7 NetBook.
error 200 divide by zero
when I compile/run the \examples\crtdemo.pas
I've just checked: compiled/ran the crtdemo.pas on
the original disk on the old PC and it runs OK.
Should I suspect a file-copy error, or is the AtomCPU
designed by M$ to reject Borland products.
I have the original boxed TP7 with books & 5.xx inch disks,
which could be a problem to get into the netbooks USB.
Please advise. Yes I want to run in DOS mode - I think.
Thanks,
== Chris Glur.
Sounds like you're using the Delay function which was software driven..

Your PC maybe too fast!!!!1

Jamie
Dr J R Stockton
2011-04-20 20:22:16 UTC
Permalink
, Mon, 18 Apr 2011 19:48:38, Jamie <jamie_ka1lpa_not_valid_after_ka1lpa
Sounds like you're using the Delay function which was software driven..
Your PC maybe too fast!!!!1
The offending code is used only to initialise the Delay function, which
is part of the Crt unit. Since the Crt code is monolithic, putting the
Crt unit in a uses statement causes the error. Of the machine is over
about 200 MHz, the Delay function in the default Crt unit CANNOT be
called.

This question is NOT a Delphi question. It should have been asked only
in comp.lang.pascal.borland, and not multi-posted. There, it received
fewer answers; but they would have been accurate ones.
--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
<http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<http://www.merlyn.demon.co.uk/clpb-faq.txt> RAH Prins : c.l.p.b mFAQ;
<ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal FAQ.
lowposter
2011-04-19 07:42:44 UTC
Permalink
http://tinyurl.com/3tcotb6
Anton Shepelev
2011-05-10 18:39:03 UTC
Permalink
Post by n***@gmail.com
error 200 divide by zero
There exist patches for this error:

http://www.radioscanner.ru/files/download/file11735/fix200.zip
http://pcmicro.com/elebbs/faq/rte200.html
http://chucksomerville.com/error200.html
Post by n***@gmail.com
So I bought this lame Win7 NetBook.
Accept my deep condolences. I am happy I still can use
my good old Win98SE PC.

Anton
w***@yahoo.com
2011-05-10 20:05:28 UTC
Permalink
Post by n***@gmail.com
I used to use Turbo Pascal some years ago.
But when my I ISP said I couldn't use Win3 and I'd have to
buy W95, I said 'screw you' and changed to Linux and
ETH Oberon. Now M$ has screwed me by convincing the
wireless modem manufacturer to play "must buy WinTel
products". So I bought this lame Win7 NetBook.
Did you try another flavor of Linux? Ubuntu supports many wireless
products.

Loading...