Message-Id: <199812010945.EAA27587@delorie.com> From: "Robert Darmochwal" To: Subject: Fw: which is the fastest way to clear the screen i mode13h? Date: Tue, 1 Dec 1998 10:44:40 +0100 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01BE1D17.99035BA0" Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_01BE1D17.99035BA0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: Robert Darmochwal 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: Tuesday, December 01, 1998 10:33 AM mov edi,0xa0000 mov ecx,16000 sub eax,eax rep stosd assuming you gs is a 0-based selector off course. Robert Darmochwal Software systems engineer Aldec Inc. 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_01BE1D17.99035BA0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

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: Tuesday, December 01, 1998 10:33 = AM

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

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

Robert Darmochwal
Software systems engineer
Aldec = Inc.
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: =A0=A0sphinx AT iname DOT = com
> icq: =A0=A03643877


----------

------=_NextPart_000_01BE1D17.99035BA0--