Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!sun.com From: david@sun.com (POP-TARTS CONTAIN SLACK!!) Newsgroups: comp.arch Subject: Re: Byte ordering Message-ID: <131204@sun.Eng.Sun.COM> Date: 4 Feb 90 08:02:27 GMT References: <9656@spool.cs.wisc.edu> <1990Feb2.215421.24894@utzoo.uucp> <131201@sun.Eng.Sun.COM> <1116@mtxinu.UUCP> Sender: david@sun.Eng.Sun.COM Lines: 10 In article <1116@mtxinu.UUCP> frk@mtxinu.UUCP (Frank Korzeniewski) writes: >I have written bitblt and graphics routines for an EGA on an 80386, and I >consider this in"consistency" to be a serious mistake. You cannot take >advantage of 32 bit shifts when the bits are laced back and forth thru >the 32 bit word. I'm not familiar with EGA, but it sounds like the problem is something beyond inconsistent pixel and byte order. Certainly the bits that make up each pixel should be contiguous, but once you've managed that, the order of the pixels within the word is not critical.