🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #552

Re: ModeY vs. 13h

#552
From: sl8nl
Date: Mon, 10 Aug 1992 14:56
28 lines
1867 bytes
> Sorry for popping in in the middle of discussion and without a clear
> knowledge of what exactly are you comparing, but I have some information
> regarding the speed differences of mode 320x400x256 and mode 13h.

No problem.

> Background: I am working on a 3D space game that uses 256-color shaded
> polygons, among other things. I have a viewport on the screen (256x240
> pixels on 320x400 mode and 256x122 pixels on mode 13h). I need to clear
> this viewport and draw all the polygons on it during every frame. My
> 320x400 mode uses double-buffering, naturally, and mode 13h uses a separate
> 256x122 memory buffer which is then copied to screen (rep movsw).
> 
> I have found that in this situation the 320x400x256 mode is MUCH faster.
> On my 486/33 machine I can reach around 50 frames/sec in that mode, where
> mode 13h (although it has only half the number of pixels to update) runs
> at less than 30 frames/sec. The speeds may seem slow, but that is because
> my game plays digitized four-channel tracker music in the background at
> the same time, and the polygon boundaries are anti-aliased in real time.
> 
> I think the speed difference is a direct result of the ability to clear
> or draw 8 pixels per one STOSW or MOVSW instruction on 320x400 mode,
> where it only draws 2 pixels on mode 13h. Very important.
> 
> Was this what you were comparing?
> 
That's what I wanted to know...
Josh
Technical Details
Message-ID: <1992Aug10.085605.57997@cc.usu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nl
References: <1992Aug4.222047.57853@cc.usu.edu> <JARI.KARJALA.92Aug5115627@vipunen.hut.fi> <1992Aug5.095902.57866@cc.usu.edu> <1992Aug10.081746.26748@jyu.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: <1992Aug10.085605.57997@cc.usu.edu>
Date: 10 Aug 92 08:56:05 MDT
References: <1992Aug4.222047.57853@cc.usu.edu> <JARI.KARJALA.92Aug5115627@vipunen.hut.fi> <1992Aug5.095902.57866@cc.usu.edu> <1992Aug10.081746.26748@jyu.fi>
Organization: Utah State University
Lines: 28