Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: daedalus!kovar%husc4@talcott.harvard.edu (-David C. Kovar) Newsgroups: comp.sys.sun Subject: Getting BMX to run on a Sun 386i? Message-ID: <8812281626.AA01268@icarus> Date: 11 Jan 89 04:25:38 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 52 Approved: Sun-Spots@rice.edu Original-Date: Wed, 28 Dec 88 11:26:21 -0500 X-Sun-Spots-Digest: Volume 7, Issue 93, message 16 of 18 Has anyone out there managed to get Jef Poskanzer's PBM (portable bitmap package) to run correctly on a Sun386i? I've tried converting a large fullmoon image to Sun raster and get weird results when I do it on the 386i. (It worked fine when I used to have a 3/50). Imagine, if you will, an image labeled as follows: 0 1 2 3 4 5 6 7 8 9 a b c d e f . . . ------------------------------- 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | . . . Each labeled row/column represents one row/column of bits. After running it through BMX, it comes out looking like: 3 2 1 0 7 6 5 4 b a 9 8 f e d c . . . ------------------------------- 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | . . . In other words, a vertical stripe of n bits is being swapped. As the 386i is a byte swapped machine, this is not tooooo surprising. Has anyone taken the time and figured out what exactly needs to be changed in the pbm files to fix this? I've sent messages to Jef twice and have waited with great anticipation for the fixes in the latest release but this didn't happen ... -David C. Kovar Technical Consultant ARPA: kovar@husc4.harvard.edu Office of Information Technology BITNET: corwin@harvarda.bitnet Harvard University Ma Bell: 617-495-5947