delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/21/20:05:41

From: "Eric Botcazou" <botcazou AT club-internet DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro keyboard problem
Date: Mon, 22 Nov 1999 01:00:17 +0100
Organization: Home
Lines: 27
Message-ID: <81a16n$o7k$1@front1.grolier.fr>
NNTP-Posting-Host: ppp-213-7.kd.club-internet.fr
X-Trace: front1.grolier.fr 943228951 24820 195.36.213.7 (22 Nov 1999 00:02:31 GMT)
NNTP-Posting-Date: 22 Nov 1999 00:02:31 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
I've come accross some strange problem with the Allegro 3.12 keyboard
handler and the following code:

#include <allegro.h>

int main(int argc, char *argv[])
{
    allegro_init();
    install_keyboard();

    readkey();
}

In a DOS box under Windows 95, it's ok.
But in plain DOS, using cwsdpmi as DPMI server, sometimes (not every time)
the computer hangs. Even Ctrl+Alt+Del no longer works.
(I'm using DJGPP 2.02, Binutils 2.8.1, GCC 2.95.1, Allegro 3.12, Cwsdpmi 4).
What happens ?
Thanks in advance for your help.

--
Eric Botcazou (ebotcazou AT multimania DOT com)
Page Web: www.multimania.com/ebotcazou



- Raw text -


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