Xref: utzoo comp.os.msdos.programmer:2701 comp.sys.ibm.pc.misc:5303 Path: 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: 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 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