Article View: comp.sys.ibm.pc.programmer
Article #550*fast* and simple put_image?
From: David Hiebeler
Date: Wed, 30 May 1990 05:20
Date: Wed, 30 May 1990 05:20
25 lines
1615 bytes
1615 bytes
I am rewriting some of my cellular automata code to run on IBM PC/XT/AT. I do have the basics working, but I'd like to find some code that can do the image-display faster than what I'm doing now. My data is 2-D, although I just keep it in a 1-D array of unsigned char's (the array is Size*Size bytes long). I have a far-pointer to the data that is on an even paragraph boundary (the offset is 0). What I'd like is some code (either Assembly or efficient C or maybe C with inline-assembly) that will *quickly* copy the data to the upper-left corner of the display. I wrote some C code that displays the data by writing directly to memory (0xb*000), but I know it could be improved. I'm wondering if there is some collection of routines publically available that might help me out. Please reply by e-mail. If I get many "me-too" requests, I will post a summary of any good information I receive. -- Dave Hiebeler | Internet: hiebeler@heretic.lanl.gov Complex Systems Group | Bitnet: userF3JL@rpitsmts MS B213, Theoretical Division | UUCP: crdgw1!automtrx!hiebeler Los Alamos National Laboratory / Los Alamos, NM 87545 USA
Technical Details
Message-ID:
<A_|$N'+@rpi.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!hiebelerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!hiebeler From: hiebeler@raven.lanl.gov (David Hiebeler) Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer Subject: *fast* and simple put_image? Message-ID: <A_|$N'+@rpi.edu> Date: 30 May 90 05:20:58 GMT Organization: Theoretical Division, Los Alamos Nat. Lab; RPI CS Dept Lines: 25