Article View: rec.games.programmer
Article #425Re: ModeY vs. 13h
From: sl8nl
Date: Wed, 05 Aug 1992 15:59
Date: Wed, 05 Aug 1992 15:59
25 lines
1543 bytes
1543 bytes
> I tested the speed of 320x240x256 mode X and normal mode 13 by > a simple C program which symply did 10000 byte long memset() > to screen 10000 times. (486/33, 11MHz bus, Trident 8900 card) > I did not test moves within the display memory. > > The execution times: almost identical! (note: it did not > matter whether write was enabled to one or all planes in Mode > X, the time was the same => ModeX does indeed have four times > faster performance, if you can update all planes with single > access). The problem with updating all four planes in a single access, is that your images have to be in VGA RAM. Unfortunately, in some programming scenarios, this cannot be. I've had no luck reaching my display speeds of 13h. I've even gone right down to storing each plane together, making sure that the size of the image is always word-aligned (for rep stosw), making sure that the starting X coordinate starts on a multiple of 4, and making sure that the total X size of the image is a multiple of 4. My speeds still won't compare. OK, everyone else, lets hear your ideas on this. I need to be convinced that I can pull it off. Josh
Technical Details
Message-ID:
<1992Aug5.095902.57866@cc.usu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nlReferences:
<1992Aug4.222047.57853@cc.usu.edu> <JARI.KARJALA.92Aug5115627@vipunen.hut.fi>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nl From: sl8nl@cc.usu.edu Newsgroups: rec.games.programmer Subject: Re: ModeY vs. 13h Message-ID: <1992Aug5.095902.57866@cc.usu.edu> Date: 5 Aug 92 09:59:01 MDT References: <1992Aug4.222047.57853@cc.usu.edu> <JARI.KARJALA.92Aug5115627@vipunen.hut.fi> Organization: Utah State University Lines: 26