🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #435

ModeY vs 13h

#435
From: lee oine
Date: Thu, 06 Aug 1992 01:04
25 lines
1276 bytes
for drawing on 13h, u will draw in memory first (in an array) and then use
 repz movsw to move it out to screen. that will be the fastest routine to 
do it!

if u do the same for modeY or X, then it will be very slow! it will be ten
times slower if u draw to array first then flip to screen!


to cut down the speed difference, flip to 1st page and draw the screen directly
to second page.


eg.	OUT &H3D4,12 : OUT &H3D5,0      ; flip to 1st page
	CALL DRAWX( &HA400 )		; draw to second page

in this way, u will be drawing while displaying a page!

i have been using modex, modey for quite some time and found that this is the
faster way. but it will still be slower than 13h (by around two times)

anyway, why waste this flicker-free mode and use 13h, which jerks when doing
large scrollings?

anyone try programming 360x480x256 ?     this mode causes even more trouble!
Technical Details
Message-ID: <1992Aug6.010439.21056@mnemosyne.cs.du.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!loine

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!loine
From: loine@nyx.cs.du.edu (lee oine)
Subject: ModeY vs 13h
Message-ID: <1992Aug6.010439.21056@mnemosyne.cs.du.edu>
Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
Date: Thu, 6 Aug 92 01:04:39 GMT
Lines: 25