delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/11/23/05:02:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <dont_have AT bitbucket DOT cmm>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: there is problem, can help?
Date: Wed, 23 Nov 2005 04:48:22 -0500
Organization: Aioe.org NNTP Server
Lines: 52
Message-ID: <dm1ds9$dhk$1@domitilla.aioe.org>
References: <1132676600 DOT 304931 DOT 228860 AT g43g2000cwa DOT googlegroups DOT com>
NNTP-Posting-Host: pCFjXAYAthfOLF6YhIh1ZA.223.domitilla.aioe.org
X-Complaints-To: abuse AT aioe DOT org
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MSMail-Priority: Normal
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<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 -


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