delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/05/08:56:54

From: omarhawk AT t-online DOT de (Omar Hawk)
Newsgroups: comp.os.msdos.djgpp
Subject: allocating dword aligned memory with __dpmi_allocate_memory
Date: 4 Oct 1998 17:15:48 GMT
Lines: 10
Message-ID: <6v8ag4$922$1@news02.btx.dtag.de>
Mime-Version: 1.0
X-Sender: 053346167-0001 AT t-online DOT de
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello there,

I want to write an assembler function that copies mem using the string
instructions MOVSD & MOVSW. I'd like to use MOVSD to store 2 words a
time. How can I allocate DWORD ALIGNED memory using
__dpmi_allocate_memory? This would be very helpful if one is using a
16bit vesa mode: I hope to double the speed by a factor of 2.

Thanks,
	omar

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019