Mail Archives: djgpp/2000/05/03/14:51:04
hy,
sorry for my english, it isn't very well..
I'm using RHIDE and i wrote this small test-program
int main ()
{
BITMAP bmp = screen;
allegro_init;
set_gfx_mode(GFX_AUTODETECT,1024,768,0,0);
set_color_depth(8);
putpixel(bmp,21,21,3);
}
but when i run it i always get a message box (error code 255) and this
Shutting down Allegro
Exiting due to signal SIGSEGV
General Protection Fault at eip=00000000, error=55e4
eax=00000001 ebx=0000830f ecx=00000001 edx=00000000 esi=00000000 edi=0004c0bc
ebp=001f1fe0 esp=001f1fa8 program=C:\GNU\BIN\A.EXE
cs: sel=00a7 base=83990000 limit=00231fff
ds: sel=00af base=83990000 limit=00231fff
es: sel=00af base=83990000 limit=00231fff
fs: sel=00c7 base=00000000 limit=0010ffff
gs: sel=00c7 base=00000000 limit=0010ffff
ss: sel=00af base=83990000 limit=00231fff
App stack: [001f2000..00172000] Exceptn stack: [0004c014..0004a0d4]
Call frame traceback EIPs:
0x00000000
0x00029b72
i don't know what is wrong..
please help me,
thanks
Yannick Schäfer
- Raw text -