5 ms·
I've always had a lot of respect for Woz's color hack on the Apple, which will apparently be covered in a later part. But I didn't see IBM PC hacks on the list,
by sp332 11y ago
I've always had a lot of respect for Woz's color hack on the Apple, which will apparently be covered in a later part. But I didn't see IBM PC hacks on the list, so here's an overview of old & new tricks to get colors out of an old CGA card. http://8088mph.blogspot.com/2015/04/cga-in-1024-colors-new-mode-illustrated.html http://8088mph.blogspot.com/2015/04/cga-in-1024-colors-new-m...
- acomjean 11y agoApple //e graphics were weird from what I remember. Highres (hgr) 7 colors though 2 whites, 2 blacks purple, green, blue and orange. Certain colors next to each other caused weirdness I think thats why 2 black/white colors. You could dump the video memory to disk though and load it back. Kind of like a modern screenshot with no compression. the disks couldn't hold a lot of images though made young me frustrated trying to make a graphical adventure. I did a maze game with the 16 color low res graphics.. You could directly manipulate the graphics with the poke command (push values into memory). "call 62454" inexplicable changed the whole screen to the current color. You could have fun with a loop though the 7 colors. good times
- ddingus 11y agoYep. There were two whites and two blacks due to the pixel shift triggered by the high bit of the screen memory byte. Unlike most every other machine, the Apple 8 bit computers offered 7 pixels per byte, with the high order bit shifting those just a little bit. That shift presented the two sets of colors. At the pixel clock of the Apple, artifacting basically offered a 4 color display. Two pixels on = white, two pixels off = black, and 01, 10 patterns were color. With the pixel shift, the Apple 8 bit computers offered up a 6 color display. While the two blacks and whites seem redundant, they are actually necessary to get bit patterns lined up precisely, or to avoid additional color artifacts along some image boundaries.
- rbanffy 11y agoAnd thus the Apple II is the only computer that was ever capable of shifting something half-a-pixel to the left. Note: The Apple /// could probably do that too.
- ddingus 11y agoI think it could. That little shift ended up being double high resolution in the later //e machines. :) Apple video is a total hack through and through.
- drivers99 11y agoOh very cool. That was eye opening. I have been running that demo occasionally since I happen to have my first computer, an original IBM PC with CGA card, standard PC beeper/speaker, (and no monitor, but this demo uses NTSC to a TV anyway!) Fortunately I also had modem software (Telix) on the PC's 20MB hard drive so I could copy the demo over a null modem cable with Zmodem protocol, from a win2k box that also had a serial port, USB port, and hyperterm on it! And I had pkunzip on it already as well to unzip the file. It was so slow! I forgot how it was slow just to unzip files back then. (And to get the file onto THAT computer I had to put it on a USB stick from my windows 7 box because it's the one with wifi and USB but no RS-232 serial port.) Now I get why the demo sometimes comes out in black and white when it tries to do 1024 colors. Somehow it's not triggering the "color burst" correctly. Old story: I was excited the first time I realized flight simulator 3 could show more colors (blue sky, green grass) if I selected the right mode and hooked it up to a TV. Same for old Sierra games like King's Quest: https://m.youtube.com/watch?v=Km7UB9CRMyE https://m.youtube.com/watch?v=Km7UB9CRMyE
- petercooper 11y agoTo add to this, and to go a little later, the PC Game Programmer's Encyclopedia (PCGPE) was basically my bible in the mid 90s and was packed with awesome articles about doing tricky stuff with PC graphics: http://www.oocities.org/siliconvalley/2151/pcgpe.html http://www.oocities.org/siliconvalley/2151/pcgpe.html