[fpc-pascal]VESA modes in fpc for win32
jonas at zeus.rug.ac.be
Thu Jan 31 13:22:29 CET 2002
On maandag, januari 28, 2002, at 07:22 , Victor V. Shuvalov wrote:
> Unfortunately it is. I downloaded dosw32104full (containing many things
> including docs) some 1.5 month ago. Maybe the online documentation is
> fresh --- I didn't check yet.
Really strange, the documentation in that package should already contain
all the new mode handling stuff.
>> There are several reasons
>> a) the win32 graph unit only supports 640x480x16 colors.
> OK, how do I use at least this mode?
graphdriver := d4bit;
graphmode := m640x480;
>> See the docs for more info. You can use the go32v2 version of the
>> compiler to create (Dos) programs that switch into VESA modes (using
>> graph unit and the method described above),
> Surprisingly the method described above is NOT working, but
> helps --- which looks like nonsence, isn't it?
Yes, because there is no graphdriver 10 available under windows...
> The problem with win32 and graph is that I can't use Crt in graphics
> (you have to switch to text window and press keys there :-). FAQ
> WinCrt instead, but WinCrt is not working in text mode (ch:=keypressed
> causes the program to hang)! So there's no chance to use Crt procedures
> function both in text and graphics mode, which seems to be a big
> Is there any way to fix this problem?
I don't know. Maybe you could look at the fpctris sources (it's one of
the demo's), I think it also uses both the graph and crt unit.
More information about the fpc-pascal