Article View: comp.sys.ibm.pc.games.misc
Article #488MCGA Sprite programming?
From: Byron Guernsey
Date: Wed, 19 May 1993 01:10
Date: Wed, 19 May 1993 01:10
31 lines
2153 bytes
2153 bytes
I'm not sure if this is the right group to post this in, but I found no "programming" group for the ibm.pc I've been looking at some shareware packages for manipulating MCGA 320x200x256 graphics screens with "sprites" and most of them have just fallen short of what I'm looking for. Most of them use a virtual screen which is then copied on the vertical screen retrace to video memory. I want to know if there is a way to merely change a register on the vga card and change the video ram address after a retrace to quickly swap to the updated screen? It seems a mjor slowdown with the programs is copying the virtual screen to video ram. One other problem I found with the 2 TPU's "sprites" and "pasKAL" is that they always allocate a set amount of space for each sprite whether or not the sprite requires it. (At least that is what I assumed after looking at the Interface files) I'd like to do something where the sprites are dynamically allocated by the size of the image. If anyone knows if a package that already does this, please let me know. I don't want to reinvent the wheel, I just want fast, memory efficient display routines. ANIVGA is the 3rd package I am looking at, however some of the demo programs written for it lock up on my machine. Does anyone know if a newer version of ANIVGA is available? I haven't really studied it to see how it handles memory, but it appears to be extremely fast. Any comments or information anyone can give me would be helpful. I may end up writing my own routines so I can get those 2 things: speed, and memory optimization. Byron
Technical Details
Message-ID:
<1993May19.011055.1724@compunet.uucp>Path:
mbox-mo1.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!uunet!coplex.coplex.com!compunet!specterShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.misc,comp.sys.ibm.pc.games.misc Path: mbox-mo1.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!uunet!coplex.coplex.com!compunet!specter From: specter@compunet.uucp (Byron Guernsey) Subject: MCGA Sprite programming? Message-ID: <1993May19.011055.1724@compunet.uucp> Organization: The Alaskan Organization for Amiga Domination Date: Wed, 19 May 1993 01:10:55 GMT Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit