🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

386 and EGA-card

#4158
From: Sverre H Huseby
Date: Mon, 07 Jan 1991 12:00
27 lines
1055 bytes
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.

Why???





Sverre.

----------------------------------------
Sverre H. Huseby   (sverrehu@ifi.uio.no)
Student   -   University of Oslo, Norway
Technical Details
Message-ID: <CMM.0.88.663249658.sverrehu@ome.ifi.uio.no>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!sverrehu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!sverrehu
From: sverrehu@ifi.uio.no (Sverre H Huseby)
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc
Subject: 386 and EGA-card
Message-ID: <CMM.0.88.663249658.sverrehu@ome.ifi.uio.no>
Date: 7 Jan 91 12:00:58 GMT
Sender: sverrehu@ifi.uio.no (Sverre Holmsen Huseby)
Organization: Dept. of Informatics, University of Oslo, Norway
Lines: 27
Nntp-Posting-Host: ome.ifi.uio.no
Originator: sverrehu@ome.ifi.uio.no