[alt.msdos.programmer] *fast* and simple put_image?

hiebeler@raven.lanl.gov (David Hiebeler) (05/30/90)

  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