Mail Archives: djgpp/1999/03/26/07:02:17
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 -