delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/19/08:30:43

From: "Richard Sim" <richard AT hyper DOT net DOT au>
Newsgroups: rec.games.programmer,comp.os.msdos.djgpp
Subject: Using ASM to optimize perspective correct horizontal line function
Date: Thu, 19 Feb 1998 23:53:08 +1030
Lines: 29
NNTP-Posting-Host: 203.38.156.49
Message-ID: <34ec3280.0@kastagir.senet.com.au>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all,
As the subject says, I need to optimize my perspective correct horizontal
line drawer(I'm using DJGPP), it's really slow at the moment, and a lot of
the engines time is spent in it, 56.5% to be exact.... there must be a way
to speed it up. I'm pretty sure that I will go for writing it in assembly,
but there's a problem with that - I don't know assembly :o( So does anyone
out there know of any tutorials that arn't so outdated that their no use to
me at all? I will not be using asm to make programs, just functions to link
with C programs, I presume that I will use NASM because I don't want to use
the DJGPP asm-style since I would like to be able to easily write code using
asm for both dos & win95.
As I've said, I would like some like that have info on using specific stuff
in pentium, pII, MMX, etc chips, not 386's, 486's or even older pentiums.
And also info on copying a double buffer to the screen in VESA 640x480 fast
:o)
I know this is a really nagy type of post, but I don't want to be swamped by
old stuff that I can't use, sorry :o)
Thanks for any links that you can give me, or other stuff, cya,
Richard
PS> If you could either reply to me via email or just send me a copy of your
reply so I don't miss anything, that'd be cool :o)

*******************************************
* Richard Sim - Richard Sim - Richard Sim *
*          richard AT hyper DOT net DOT au           *
* Richard Sim - Richard Sim - Richard Sim *
*******************************************


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019