delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/26/07:02:17

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3BDE2F7@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: more problems settings the correct mode
Date: Fri, 26 Mar 1999 11:59:45 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

vern writes:
> my latest problem is that whenever i run my program, it crashes 
> and i have to completely reset my computer. (ctrl-alt-del doesnt 
> work).

Please post complete sources for a small program that we can compile
and run.

> there is a test program that comes wiht allegro that shows which 
> modes you can use on your computer.

Do the other Allegro tests work on your machine, eg. the test.exe?
If so, look at the sources of those to see what you are doing
differently. If not, try using different drivers or installing
Display Doctor (www.scitechsoft.com).

> seeing the mode numbers off to the left side, i also tried ot use 
> the old setmode function i was using before i had allegro. the call 
> to the funciton in my code looks liek this: setmode(0x111);

VESA modes are set in a completely different way to standard VGA ones.
See the VESA spec, or the graphics chapters on 
http://www.delorie.com/djgpp/doc/ug/.


	Shawn Hargreaves.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019