From: JeongHoon Cho Newsgroups: comp.os.msdos.djgpp Subject: Re: Halt in changing graphic mode in Allegro... Date: Mon, 17 May 1999 11:10:53 +0900 Organization: Inet Internet Services Lines: 38 Message-ID: <373F7AAD.905CA409@gentech.co.kr> References: <37390E4B DOT E3F7A390 AT gentech DOT co DOT kr> <373EF518 DOT 87E460D7 AT enter DOT net> NNTP-Posting-Host: 203.239.40.65 Mime-Version: 1.0 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit X-Trace: news.nuri.net 926907311 18388 203.239.40.65 (17 May 1999 02:15:11 GMT) NNTP-Posting-Date: 17 May 1999 02:15:11 GMT X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.