Xref: utzoo comp.sys.ibm.pc.programmer:1716 alt.msdos.programmer:1686 Path: 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: Date: 30 May 90 05:20:58 GMT Organization: Theoretical Division, Los Alamos Nat. Lab; RPI CS Dept Lines: 25 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