www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/01/04:35:47

Message-Id: <199812010934.EAA27088@delorie.com>
From: "Robert Darmochwal" <robertd AT aldec DOT katowice DOT pl>
To: "Johan Venter (aka sphinX)" <^_^@delorie.com>
Cc: <djgpp AT delorie DOT com>
Subject: Re: which is the fastest way to clear the screen i mode13h?
Date: Tue, 1 Dec 1998 10:33:35 +0100
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_01BE1D16.0CD479D0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

	mov edi,0xa0000
	mov ecx,16000
	sub eax,eax
	rep stosd

assuming you gs is a 0-based selector off course.

Robert Darmochwal
www.aldec.com 


----------
> From: Johan Venter (aka sphinX) <^_^@delorie.com>
> To: djgpp AT delorie DOT com
> Subject: Re: which is the fastest way to clear the screen i mode13h?
> Date: Sunday, November 29, 1998 8:35 AM
> 
> use assembler to move dwords instead of bytes
> i.e. move 4 bytes at a time and not 1.
> 
> -- 
> sphinX
> 
> e-mail:   sphinx AT iname DOT com
> icq:   3643877
------=_NextPart_000_01BE1D16.0CD479D0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
color=3D"#000000" face=3D"Arial">&#009;mov edi,0xa0000<br>&#009;mov =
ecx,16000<br>&#009;sub eax,eax<br>&#009;rep stosd<br><br>assuming you gs =
is a 0-based selector off course.<br><br>Robert =
Darmochwal<br>www.aldec.com <br><br><br>----------<br>&gt; From: Johan =
Venter (aka sphinX) &lt;<font =
color=3D"#0000FF"><u>^_^@delorie.com</u><font =
color=3D"#000000">&gt;<br>&gt; To: <font =
color=3D"#0000FF"><u>djgpp AT delorie DOT com</u><font =
color=3D"#000000"><br>&gt; Subject: Re: which is the fastest way to =
clear the screen i mode13h?<br>&gt; Date: Sunday, November 29, 1998 8:35 =
AM<br>&gt; <br>&gt; use assembler to move dwords instead of =
bytes<br>&gt; i.e. move 4 bytes at a time and not 1.<br>&gt; <br>&gt; -- =
<br>&gt; sphinX<br>&gt; <br>&gt; e-mail: &nbsp;&nbsp;sphinx AT iname DOT =
com<br>&gt; icq: &nbsp;&nbsp;3643877</p>
</font></font></font></font></font></body></html>
------=_NextPart_000_01BE1D16.0CD479D0--

- Raw text -


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