Mail Archives: djgpp/2005/11/23/05:02:15
<hudoshin AT gmail DOT com> wrote in message
news:1132676600 DOT 304931 DOT 228860 AT g43g2000cwa DOT googlegroups DOT com...
> VESA function 0x4F02 failed: No such file or directory (ENOENT)
> Exiting due to signal SIGSEGV
> es: sel=00af base=10000000 limit=0011ffff
I haven't seen that one...
I do get SIGSEGV under MS-DOS (not Win98) but that is due to GFX_AUTODETECT
or GFX_SAFE. The GFX_AUTODETECT or GFX_SAFE returns an es: invalid. I
believe this is because it is trying to detect VESA 3.0 first... Perhaps a
different mode will work?
> but on industrial PC (STPC) gives result brought above,
> truth there there is controller of the light node (CLN), but for
> but for programming this no difference
> though CRT registers were reprogramming for some mode VESA
> this CLN has digital matrix with resolution 320x240
Your code is set for 640x480, not 320x240...
>err=set_gfx_mode(GFX_AUTODETECT,640,480,0,0);
> practically all have tried,
> CAN BE THERE IS INTERESTING THOUGHT?!
> hope and wait, truly yours Wert
This is probably specific to your PC. On mine, I usually run
allegro\examples\exupdate.exe to find out which graphics mode my card will
support. You can also try other values for GFX_AUTODETECT to see if it is a
graphics mode problem. For example, GFX_VESA2L won't work for me, but
GFX_VESA2B and GFX_VESA1 do.
GFX_TEXT
GFX_AUTODETECT
GFX_AUTODETECT_FULLSCREEN
GFX_AUTODETECT_WINDOWED
GFX_SAFE
GFX_VGA
GFX_MODEX
GFX_VESA1
GFX_VESA2B
GFX_VESA2L
GFX_VESA3
GFX_VBEAF
GFX_XTENDED
Rod Pemberton
- Raw text -