mos6507 Posted July 11, 2008 Share Posted July 11, 2008 Does anyone know of a utility where I can take a monochrome GIF, BMP, or PNG and convert it into data suitable for an Atari display? I'd like to slice this graphic down into 12 "columns" of 8-bit data for the bootup display for Chimera. Quote Link to comment Share on other sites More sharing options...
Rybags Posted July 11, 2008 Share Posted July 11, 2008 I just do it with quick & dirty BASIC in the emulator. Prepare the BMP with Photoshop, convert to indexed 8-bit colour using an Atari palette. Over-saturating the picture's colour first usually helps it get the conversion more correct. Save as BMP, Image Inverted (since normal BMPs read from the bottom, up). Read with a program in the emulator in Turbo mode. From memory, just skip the first 1078 bytes in an 8-bit paletted BMP. From there it should be straight-forward. One byte per pixel with the value equivalent to what you'd POKE into a colour register to attain that colour. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted July 11, 2008 Share Posted July 11, 2008 something like this (in turbo basic xl), when you want to use monochrome then you can do following (assumung a 320x191x1 BMP) 0 gr.8+16:scr=dpeek(88) 1 open#1,4,0,"h:myfile.bmp" 2 bget#1,scr,1078 3 for i=0 to 191 4 bget#1,scr,40 5 next i 6 close#1 ? Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted July 11, 2008 Share Posted July 11, 2008 Keep in mind, he's talking about Atari 2600 display, not Atari 800. Michael Quote Link to comment Share on other sites More sharing options...
CPUWIZ Posted July 11, 2008 Share Posted July 11, 2008 Does anyone know of a utility where I can take a monochrome GIF, BMP, or PNG and convert it into data suitable for an Atari display? I'd like to slice this graphic down into 12 "columns" of 8-bit data for the bootup display for Chimera. I'd be happy to whip up a quick command line tool in C and do that for you, is this the image you are happy with? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.