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">	mov edi,0xa0000<br>	mov =
ecx,16000<br>	sub eax,eax<br>	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>> From: Johan =
Venter (aka sphinX) <<font =
color=3D"#0000FF"><u>^_^@delorie.com</u><font =
color=3D"#000000">><br>> To: <font =
color=3D"#0000FF"><u>djgpp AT delorie DOT com</u><font =
color=3D"#000000"><br>> Subject: Re: which is the fastest way to =
clear the screen i mode13h?<br>> Date: Sunday, November 29, 1998 8:35 =
AM<br>> <br>> use assembler to move dwords instead of =
bytes<br>> i.e. move 4 bytes at a time and not 1.<br>> <br>> -- =
<br>> sphinX<br>> <br>> e-mail: sphinx AT iname DOT =
com<br>> icq: 3643877</p>
</font></font></font></font></font></body></html>
------=_NextPart_000_01BE1D16.0CD479D0--
- Raw text -