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