🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4162

Re: 386 and EGA-card

#4162
From: Harri "Haba" Suomalainen
Date: Mon, 07 Jan 1991 16:51
26 lines
1496 bytes
sverrehu@ifi.uio.no (Sverre H Huseby) writes:
>I have tried clearing the EGA graphics screen (mode 10h)
>in the following two ways:
>    8086:
>      xor ax, ax
>      mov cx, NUM_BYTES / 2
>      rep stosw
>    80386:
>      xor eax, eax
>      mov cx, NUM_BYTES / 4
>      rep stosd
>
>The 386-routine takes almost the same amount of time as
>does the 8086-routine.

If it were 32 bit memory 386 would be a lot faster. However, I doubt
you haveing a 32 bit EGA. Instead your EGA is 8 or 16 bit. As accessing
memory on EGA board is the speed limiting factor there shouldn't be big
differences in speed if both EGAs are the same type. (Of cource, higher 
clock speed with 386 speeds up things unless you gotta use waitstates 
for the EGA).

-hs

--
Harri Suomalainen         c37189h@saha.hut.fi         haba@otax.tky.hut.fi
Technical Details
Message-ID: <1991Jan7.165104.25541@santra.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!uupsi!sunic!news.funet.fi!funic!santra!saha.hut.fi!c37189h
References: <CMM.0.88.663249658.sverrehu@ome.ifi.uio.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!uupsi!sunic!news.funet.fi!funic!santra!saha.hut.fi!c37189h
From: c37189h@saha.hut.fi (Harri "Haba" Suomalainen)
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc
Subject: Re: 386 and EGA-card
Message-ID: <1991Jan7.165104.25541@santra.uucp>
Date: 7 Jan 91 16:51:04 GMT
References: <CMM.0.88.663249658.sverrehu@ome.ifi.uio.no>
Sender: news@santra.uucp (Cnews - USENET news system)
Reply-To: c37189h@saha.hut.fi (Harri "Haba" Suomalainen)
Organization: Helsinki University of Technology, FINLAND
Lines: 26