www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/01/13:02:07

Message-Id: <199812011754.RAA25002@remus.clara.net>
From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: which is the fastest way to clear the screen i mode13h?
Date: Tue, 1 Dec 1998 17:53:42 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
In-Reply-To: <199812011340.IAA03344@delorie.com>
Reply-To: djgpp AT delorie DOT com

Does PC ASM have a MOVEM command? On the M68k MOVEM shoved the contents of
any or all (of 16) 32-bit registers to an area of memory. One technique was
to clear as many registers as possible, and dump the contents to the screen.
If you could clear as many as 15 registers, then that would be a whole 60
bytes cleared in the same number of cycles as it would take about 5 move.l
instructions (32-bit move).

Is this not possible on the PC? It seems like a very basic command to me.

James Arthur - jaa AT arfa DOT clara DOT net
http://www.arfa.clara.net/james/
ICQ#15054819

> k,plaintext this time:
>
> 	xor eax,eax
> 	mov edi,0xa0000
> 	mov ecx,4000h
> 	rep stosd
>
> 	assuming your es selector base is set to offset of 0.
>
> Best Regards,
> Robert
>
> www.aldec.com
>
> ----------
> > From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
> > To: Robert Darmochwal <robertd AT aldec DOT katowice DOT pl>
> > Subject: Re: which is the fastest way to clear the screen i mode13h?
> > Date: Tuesday, December 01, 1998 2:03 PM
> >
> >
> > Please try to set up your mail software so that your messages
> are sent as
>
> > plain text, without the HTML tags.  Many people use news readers which
> > don't understand HTML, and it makes it very hard for them to read your
> > messages.
>
>


- Raw text -


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