[fpc-pascal]VESA modes in fpc for win32

Victor V. Shuvalov shuvalov at mccme.ru
Sun Jan 27 18:13:26 CET 2002


[note: I'm not subscribed to this mailing list, so please send me a
personal copy of your answer. TIA]

Hello!

How do I initialize VESA graphics modes (like 101h) with fpc for win32? The
documentation says

 If you need another mode, then set GraphDriver to a value different from
 zero and graphmode to the mode you wish (VESA modes where 640x480x256 is
 101h etc.).

but the program like

 .........
 GraphDriver:=1;
 GraphMode:=$103;
 InitGraph(GraphDriver,GraphMode,'');
 .........

which was working well with old version 0.99.12b (go32v2) is not working
with version 1.0.4 (neither win32 nor go32v2). Please help if you can.

TIA,

Victor V. Shuvalov






More information about the fpc-pascal mailing list