Xref: news2.mv.net comp.os.msdos.djgpp:6975 From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: buffer -> screen transfers Date: Thu, 08 Aug 1996 19:23:34 GMT Lines: 18 Message-ID: <839532094.29819.0@abwillms.demon.co.uk> References: <320647A3 DOT 5827 AT cadvision DOT com> NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp John Meilleur wrote: >Can anyone help me speed up this bit of code. I'm writing some hi-res graphics routines and would like to know >how i can speed up clearing the screen buffer and the buffer transfer. I know I should be able to do 32-bit >transfering but I've had no luck with it sofar. The "video_ds" is the selector to video memory and starts at >offset 0. Can any show me how to speed this up alot? TIA Just zap the lot in one! Use movedata(), I think, which takes selector:offset pairs for source and dest. I think there's a dword version as well, that takes a dword count, but don't quote me on that. ABW -- I have become... Comfortably numb... Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk http://www.hardcafe.co.uk/Alaric/