delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/24/15:01:02

From: Erik Berglund <erik2 DOT berglund AT telia DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GPF with system() and clock int.
Lines: 34
Message-ID: <md0f5.434$tab.188860416@newsb.telia.net>
Date: Mon, 24 Jul 2000 18:49:54 GMT
NNTP-Posting-Host: 194.237.157.200
X-Complaints-To: abuse AT telia DOT com
X-Trace: newsb.telia.net 964464594 194.237.157.200 (Mon, 24 Jul 2000 20:49:54 CEST)
NNTP-Posting-Date: Mon, 24 Jul 2000 20:49:54 CEST
Organization: Telia Internet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote: 
> 
> On Sun, 23 Jul 2000, Erik Berglund wrote:
> 
> > In order to trig the error more easily, I have modified tu20.c
> > so the clock tick frequency is 256x 18.2 Hz (normally I would
> > use 1x 18.2 Hz).
> 
> Does the problem happen if you don't speed up the clock?

Yes, but very seldom. Anyways, the problem appears to be solved now.
I use an intermediate 16-bit program tu23.pas, written in Turbo Pascal:

tu22.c --spawnl--> tu23.pas --exec--> gcc

tu22.c is the new IDE program.
tu23.pas transmits the command line to exec,
and also holds a clock interrupt service routine,
which updates a "Line number" on the screen
while gcc is compiling. It works without errors,
well no errors yet in any case :).

(The TSR solution didn't work, the computer
locked up sometimes, so I had to reset it with
the reset button.)

Thanks for your help,

--

Erik Berglund
erik2 DOT berglund AT telia DOT com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019