Mail Archives: djgpp/1999/05/17/06:47:14
Sean wrote:
>
> I really have no idea. :) But I do know if you want an answer you're
> going to have to say what drivers you're using. And I think looking
> through the Allegro FAQ's would help. Maybe posting on an Allegro
> board, if there is one, I'm not sure.
>
> Sean
>
> JeongHoon Cho wrote:
> >
> > When I change the graphic mode in Allegro, my program crashed.
> > So I tried some Allegro examples. But same result occurred in
> > hi-resolution graphic mode.(640x480 above)
> >
> > I'm using djdev2.02, gcc2.8.1, pgcc1.0.1, Allegro3.11 in MSDOS 6.20
> > and Pentium Celeron 333MHz, i740 graphic card with 8MB SGRAM.
> >
> > Please answer me.
Thank you for answer me.
1) I think it's graphic card problem.
When I set the graphic mode first, it's done well. ( 640 x 480 etc...
)
When I changed graphic mode to the other mode, it's failed.
So I read the source code of allegro. (graphic mode change routines)
I found the trouble is 'scroll' routine in 'set_gfx_mode'.
So I remarked the scroll function.
And I can change the mode change safty.
2) I'm not using driver ( I think it means graphic card driver. )
I'm using vesa graphic mode ( VBE 2.0 linear mode )
ps : Sorry for my poor english.
- Raw text -