Board index » delphi » bugs? (GraphiX 4.02)

bugs? (GraphiX 4.02)

This program:

   program
                 Surfaces;
   uses
                 GRAPHIX;
   begin
    InitGraphiX(ig_vesa,ig_lfb);
    SetModeGraphiX(800,600,ig_col32);
   end.

causes this error:

   C:\fpc\GraphiX\gxfp402>surfaces
   Runtime error 201 at 0x00027F7B
     0x00027F7B  GETGRAPHIX,  line 804 of gxgo32v2.ppi
     0x0002875C  INITGRAPHIX,  line 1027 of gxgo32v2.ppi
     0x000371D8  main,  line 6 of surfaces.pas
     0x0000206D

And this changes:

   program
                 Surfaces;
   uses
                 GRAPHIX;
   begin
    InitGraphiX(ig_vesa,ig_bank);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    SetModeGraphiX(800,600,ig_col32);
   end.

causes this (after (or maybe in progress of) graph mode initialization):

   Runtime error 215 at 0x0001450B
     0x0001450B  ROUNDPOWER2,  line 294 of gxcrtext.pp
     0x00028FAA  SETMODEGRAPHIX,  line 1168 of gxgo32v2.ppi
     0x000371EC  main,  line 7 of surfaces.pas
     0x0000206D

What can I do? In version 4.00 (this is 4.02) i wrote some small programs
and it worked good. But now i can't do anything :-(((

I got ATi All-In-Wonder 128 PRO 32 MB RAM

And by the way:
 Can anybody send me sample code which using surfaces? I tried to do
something - and i think it works but i can't show a surface on the screen.
My english is very poor so i can't read documentation as well as i want.

 greets
 Luke

 

Re:bugs? (GraphiX 4.02)


Quote
"ukasz Nowicki" wrote:

> This program:

>    program
>                  Surfaces;
>    uses
>                  GRAPHIX;
>    begin
>     InitGraphiX(ig_vesa,ig_lfb);
>     SetModeGraphiX(800,600,ig_col32);
>    end.

> causes this error:

>    C:\fpc\GraphiX\gxfp402>surfaces
>    Runtime error 201 at 0x00027F7B
>      0x00027F7B  GETGRAPHIX,  line 804 of gxgo32v2.ppi
>      0x0002875C  INITGRAPHIX,  line 1027 of gxgo32v2.ppi
>      0x000371D8  main,  line 6 of surfaces.pas
>      0x0000206D

Disable  "Range Checking"

Michael

--
    // Michael A. Knapp * Mauerbach-Nieder?sterreich-Austria-Europe //
   // E-Mail: mkn...@gmx.at                          ICQ: 36542787 //
  // G r a p h i X for Freepascal   http://graphix4pascal.cjb.net //
 // The Graphics Library for     http://www.graphix4pascal.de.vu //  
// DOS, Win32, Linux   http://programmierer.freepage.de/graphix //

Re:bugs? (GraphiX 4.02)


Quote
> >    Runtime error 201 at 0x00027F7B
> Disable  "Range Checking"

It is general protection fault so i think changing Range Checking will do
nothing. But i did it of course. There are still two runtime errors :-(

greets
Luke

Re:bugs? (GraphiX 4.02)


Quote
Lukasz Nowicki wrote:

> > >    Runtime error 201 at 0x00027F7B
> > Disable  "Range Checking"

> It is general protection fault so i think changing Range Checking will do
> nothing. But i did it of course. There are still two runtime errors :-(

RTE 201 = "range check error"
RTE 215 = "arithmetic overflow error"
RTE 216 = "general protection fault"

Michael

--
    // Michael A. Knapp * Mauerbach-Nieder?sterreich-Austria-Europe //
   // E-Mail: mkn...@gmx.at                          ICQ: 36542787 //
  // G r a p h i X for Freepascal   http://graphix4pascal.cjb.net //
 // The Graphics Library for     http://www.graphix4pascal.de.vu //  
// DOS, Win32, Linux   http://programmierer.freepage.de/graphix //

Other Threads