Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.apple2 Subject: Re: 3200 file format standard (NO REVERSED PALETTES!) Message-ID: <1990Aug8.202452.3080@eng.umd.edu> Date: 8 Aug 90 20:24:52 GMT References: <434@fawlty.towers.oz> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 32 In article <434@fawlty.towers.oz> johnmac@fawlty.ips.oz (John MacLean) writes: > >Todd, > you'll be happy to know that palettes are not reversed in all the >existing formats as I was led to believe. >I only recievied my first external source of 3200 pics a few days ago, and >they were totally incompatible with the pics I had created. > >It is also NOT true that the palettes themselves are reversed. > >This all comes from the fact that most source going around uses palette $F >for scanline 0, $E for palette 1 etc, etc. >Most source also puts the last color in each palette into memory first. > >The palette data in all formats is: > >+$00 Palette for scanline 0: color0 color1 color2 ..... color F >+$20 Palette for scanline 1: .......... >............ >+$1E0 Palette for scanline 199: color0 ..... color F Unless our terminology is different, this does not match my experience with the 3200 pictures (including the three that seem to have started it, Almadan, Fashion, and Brick). I call color0 the color to be displayed when the bit pattern '0000' appears in the bitmap data. I've found that color to be last in the pallettes. I've found the 3200 palettes to be the reverse of the palettes in standard $C1 type pictures. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions? Hey! Bush has NO LIPS!