www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/11/17:49:52

Message-ID: <33763E86.31A1@anywhere.anything.hu>
Date: Sun, 11 May 1997 23:47:51 +0200
From: "Dr. András Sólyom" <falcon AT anywhere DOT anything DOT hu>
Reply-To: solyom AT eik DOT bme DOT hu
MIME-Version: 1.0
To: djgpp <djgpp AT delorie DOT com>
Subject: Problems with Allegro (followup)

Some time ago I reported GP errors with allegro on some machines. I
received proposals about specifying the display driver manually, or to
change the mouse driver. I tried it all without any use. First I thought
that the problem is connected with the graphics mode of Allegro but it
is not so.
The simplest program displaying the behaviour is:

#include "allegro.h"
main() 
{
	allegro_init();
	allegro_timer();
	allegro_keyboard();
	allegro_mouse();
	while(!keypressed() )
	;
}
When I execute this simple program and move the mouse or press a mouse
button I receive the following exception:

Page Fault cr2=1008fdcd in RMCB at eip = 69232; flags=3046
Page Fault cr2=1008fdc8 in RMCB at eip = 01085; flags=3002=00c1a786
edi=000208ac
eax=00000001 ebx=000020d4 ecx=00000019 edx=00000033 esi=00001a94
edi=0008fdce
ebp=00065d9c esp=0008fdcc cs=2b ds=3b es=b7 fs=33 gs=b7 ss=b7 error=0006

What is this? AFAIK the cr2 register is some very important register for
some of the paging tables, isn't it?
						
					Andras

- Raw text -


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