Message-Id: <199812010934.EAA27088@delorie.com> From: "Robert Darmochwal" To: "Johan Venter (aka sphinX)" <^_^@delorie.com> Cc: 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 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01BE1D16.0CD479D0" Content-Transfer-Encoding: 7bit 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

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--