From: gah AT jet DOT es (Grzegorz Adam Hankiewicz) Newsgroups: comp.os.msdos.djgpp Subject: Re: [Allegro3.0]Graphic question? Date: Tue, 09 Jun 1998 19:45:57 GMT Organization: Gogosoftware Lines: 14 Message-ID: <357d906a.1099287@news.jet.es> References: <6ljdtv$en7 AT netnews DOT hinet DOT net> NNTP-Posting-Host: infon456.jet.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 9 Jun 1998 13:39:11 GMT, wdhwang AT ms4 DOT hinet DOT net () wrote: > But after I use VIRTUAL_H to check the virtual screen. > The value of VIRTUAL_H is 1638, which is not equal 960. > I don't know what happen??? The Allegro documentation specifies clearly that the values you are passing to set_gfx_mode for the virtual screen sizes are the "minumin" Allegro will reserve. However, Allegro is vary likely to reserve a bigger virtual screen than the one you requested. You will have to live with that :-) - Grzegorz Adam Hankiewicz - gah AT jet DOT es - http://web.jet.es/gregorio/ - Gogosoftware - http://welcome.to/gogosoftware/