Mail Archives: djgpp/2001/09/29/04:19:01
From: | "Tim Nicholson" <T DOT J DOT Nicholson AT btinternet DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Allegro - switching mode
|
Date: | Sat, 29 Sep 2001 08:52:06 +0100
|
Organization: | Skyforce avionics Limited
|
Lines: | 37
|
Message-ID: | <9p3v30$fna$1@plutonium.btinternet.com>
|
References: | <9p04tg$82$1 AT news DOT tpi DOT pl>
|
NNTP-Posting-Host: | host62-7-36-11.btinternet.com
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
When you say it does't work, what do you mean? - Does it crash, stay in SVGA
mode or stay in text mode?
I have had a few problems with GFX_AUTODETECT on some hardware, have you
tried specify an actual mode, I find that GFX_VESA2L works with most cards
in 640 x 480 mode.
Without more details of what "doesn't work" really means, I can't really
offer any more advice!
Tim
Also
"Raf256" <raf256 AT go2 DOT pl> wrote in message news:9p04tg$82$1 AT news DOT tpi DOT pl...
> How to switch graph mode ?
>
> /* ... code that installs mouse, keyboard and SVGA */
> /* ... using graph / mouse */
> /* ... but NO timers / interrupts */
>
> show_mouse(NULL);
> remove_mouse();
> set_gfx_mode(GFX_TEXT,80,25,0,0); // turns OFF graph mode
>
> set_color_depth(8);
> set_gfx_mode(GFX_AUTODETECT,640,480,0,0);
> clear_to_color(screen, makecol(255,255,255));
> install_mouse();
>
> This doesn't work :( why ?
>
> --
> Raf256
>
>
- Raw text -