[fpc-devel] Re: fpc-devel Digest, Vol 25, Issue 17

Ladislav Lacina laaca at seznam.cz
Mon Sep 11 12:42:20 CEST 2006


There is a several bug in the unit inicialization code which afect more
units not only Graph. Look at this bugreport:
http://www.freepascal.org/mantis/view.php?id=7338

You could to try use my modified unit Graph
http://www.laaca.borec.cz/graph.zip
which works for me but the inicialization bug in FPC 2.0.4 makes this
compiler virtualy unusable.

----- Original Message -----
From: <fpc-devel-request at lists.freepascal.org>
To: <fpc-devel at lists.freepascal.org>
Sent: Monday, September 11, 2006 12:00 PM
Subject: fpc-devel Digest, Vol 25, Issue 17


> Send fpc-devel mailing list submissions to
> fpc-devel at lists.freepascal.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> or, via email, send a message with subject or body 'help' to
> fpc-devel-request at lists.freepascal.org
>
> You can reach the person managing the list at
> fpc-devel-owner at lists.freepascal.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fpc-devel digest..."
>
>
> Today's Topics:
>
>    1.  GO32V2 Graph Bug? (Steve)
>    2. Re:  GO32V2 Graph Bug? (Dani?l Mantione)
>    3. Re:  GO32V2 Graph Bug? (Tomas Hajny)
>    4. Re:  Re: [fpc-pascal] line numbers in valgrind output ?
>       (Leducq Dominique)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 10 Sep 2006 11:44:09 -0700
> From: "Steve" <S.Bromley at comcast.net>
> Subject: [fpc-devel] GO32V2 Graph Bug?
> To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
> Message-ID: <001b01c6d509$22a071c0$16fea8c0 at WorkGroup>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> I downloaded FP not long ago and have been trying to shift over and add
some
> things a Borland Pascal program that controls stepper motors for a cnc
> machine (needs Dos for critical timing of motor pulses). I looked in the
> list of bugs that were being worked on and didn't see a Graph bug listed
for
> the DOS GO32V2 ver of FreePascal. Basically any program I try to run that
> has Graph in it gets a 216 error. 3 different computers, 2 with Win 98 in
> Dos mode, one with Dos, all with video cards that support vesa and can run
> the Borland program with Borlands Graph and Vesa16.bgi. Is this a bug or
me
> doing something wrong?
>
>
> Works:
>
> {    This file is part of the Free Pascal run time library.
>     Copyright (c) 1993-98 by the Free Pascal Development Team
>  **********************************************************************}
> program hello;
>   begin
>      writeln('Hello world');
>   end.
>
> Does not work:
>
> {    This file is part of the Free Pascal run time library.
>     Copyright (c) 1993-98 by the Free Pascal Development Team
>  **********************************************************************}
> program hello;
> uses Graph;
>   begin
>      writeln('Hello world');
>   end.
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 10 Sep 2006 21:27:04 +0200 (CEST)
> From: Dani?l Mantione <daniel.mantione at freepascal.org>
> Subject: Re: [fpc-devel] GO32V2 Graph Bug?
> To: FPC developers' list <fpc-devel at lists.freepascal.org>
> Message-ID: <Pine.LNX.4.61.0609102124310.23292 at idefix.wisa.be>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> Op Sun, 10 Sep 2006, schreef Steve:
>
> > =
>
> > I downloaded FP not long ago and have been trying to shift over and add
s=
> ome
> > things a Borland Pascal program that controls stepper motors for a cnc
> > machine (needs Dos for critical timing of motor pulses). I looked in the
> > list of bugs that were being worked on and didn't see a Graph bug listed
=
> for
> > the DOS GO32V2 ver of FreePascal. Basically any program I try to run
that
> > has Graph in it gets a 216 error. 3 different computers, 2 with Win 98
in
> > Dos mode, one with Dos, all with video cards that support vesa and can
run
> > the Borland program with Borlands Graph and Vesa16.bgi. Is this a bug or
=
> me
> > doing something wrong?
>
> It can be a or it might not be. Nobody of the Free Pascal team is actively
=
>
> using Dos, but when we checked it worked. However, you are not the first =
>
> one reporting graph problems.
>
> The only thing I can recommend is to download the graph source code and =
>
> debug it to try to find out where it goes wrong. Once we know what causes
=
>
> it we might be able to fix it.
>
> Dani=EBl=20
>
> ------------------------------
>
> Message: 3
> Date: Sun, 10 Sep 2006 22:34:49 +0200
> From: "Tomas Hajny" <XHajT03 at mbox.vol.cz>
> Subject: Re: [fpc-devel] GO32V2 Graph Bug?
> To: FPC developers' list <fpc-devel at lists.freepascal.org>
> Message-ID: <20060910202749.672AEC000CAB at ns.lam.cz>
> Content-Type: text/plain; charset=ISO-8859-2
>
> On 10 Sep 06, at 21:27, Daniël Mantione wrote:
> > Op Sun, 10 Sep 2006, schreef Steve:
> >
> > > I downloaded FP not long ago and have been trying to shift over and
add some
> > > things a Borland Pascal program that controls stepper motors for a cnc
> > > machine (needs Dos for critical timing of motor pulses). I looked in
the
> > > list of bugs that were being worked on and didn't see a Graph bug
listed for
> > > the DOS GO32V2 ver of FreePascal. Basically any program I try to run
that
> > > has Graph in it gets a 216 error. 3 different computers, 2 with Win 98
in
> > > Dos mode, one with Dos, all with video cards that support vesa and can
run
> > > the Borland program with Borlands Graph and Vesa16.bgi. Is this a bug
or me
> > > doing something wrong?
> >
> > It can be a or it might not be. Nobody of the Free Pascal team is
actively
> > using Dos, but when we checked it worked. However, you are not the first
> > one reporting graph problems.
> >
> > The only thing I can recommend is to download the graph source code and
> > debug it to try to find out where it goes wrong. Once we know what
causes
> > it we might be able to fix it.
>
> Actually, the problem is known (see
> http://www.freepascal.org/mantis/view.php?id=7338
> or bottom of
> http://www.freepascal.org/wiki/index.php/Issues_2.
> 0.4) and not really specific to just one unit
> (although unit Graph is known to be affected). I
> guess that it might be useful to have a look at
> register allocation and stack changes, but I
> didn't manage to find time for doing it yet. :-(
>
> Tomas
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 11 Sep 2006 08:05:47 +0200
> From: Leducq Dominique <dleducq at magellan-ing.fr>
> Subject: Re: [fpc-devel] Re: [fpc-pascal] line numbers in valgrind
> output ?
> To: fpc-devel at lists.freepascal.org
> Message-ID: <200609110805.47282.dleducq at magellan-ing.fr>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> Le Samedi 9 Septembre 2006 12:37, Florian Klaempfl a écrit :
> > Florian Klaempfl schrieb:
> > > Now I remember :) valgrind doesn't support all x86_64 instructions :(
> >
> > Well, I just checked change logs, you need at least 3.1.0
> >
>
> Right, with 3.2.0 it runs without problems, just not taking debug info
into
> account.
>
> > _______________________________________________
> > fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
>
> ------------------------------
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
> End of fpc-devel Digest, Vol 25, Issue 17
> *****************************************




More information about the fpc-devel mailing list