Dead Hackers Society
 
 
 

Generic BMP

Welcome to the page of Generic BMP!

Generic BMP is a little tool that converts 8-bit and truecolour BMP files into various Atari ST/STe/TT/Falcon and Amiga screen and register formats.

For example, if you want a truecolour BMP into ST 9-bit truecoluor format, look no further. Or why not convert a Grafx2 ST-fullscreen picture into ST bitplanes and palette? We got that covered too.

Features
  • Convert 8-bit BMP files to raw bitplanes with or without palette, 1 to 8 bitplanes.
  • Convert palette or entire 8/24-bit BMP pictures into palette register formats or Falcon truecolour.
  • Strip 8-bit BMP from headers, palette and paddings to save a RAW 8-bit dump, for textures and the likes.
  • Strip one colour channel from 24-bit BMP files to store 8:8 ofsmap tables.
  • Convert 8-bit BMP files with only 16 colours into nibble chunky.
  • Supports bitplane formats of ST/STe, TT/Falcon and Amiga.
  • Supports palette/truecolour formats of ST, STe/TT, Falcon palette, Falcon truecolour, Amiga OCS/ECS, Amiga AGA.
  • Programmed entierly in 68000 assembler, ensures that we have many bugs!
  • Works on plain ST up to Falcon 060.
Backstory

Over the years I've made dozens, well probably up to the hundreds of small sources that convert a picture of a specific size and format into something suitable for the Atari. One source for each texture, logo, image and what not for dozens and dozens of demos.

Then a sunny day about seven years ago (around 2018) I thought it might be worthwhile to invest time into a more generic tool that would solve 99% of the conversions I need. Said and done, Generic BMP was made and it has indeed saved me a lot of time. I've added features as I needed them, and it's now been "stable" at the current feature set for a couple of years, so it's probably a finished program.

So I've been thinking of releasing the tool for a bunch of years, but it never happened. Then at the GERP party cG/DHS suggested that we make a fantasy cracktro for the the Buxton bytes party. Here I saw the chance of getting the tool out once and for all. So we did a "cracktro" for the tool and also got some free advertizing!

FAQ

Q: How to I request a new feature?
A: We don't take feature requests for this tool.

Q: Are there bugs?
A: Most certainly.

Q: Is everything tested?
A: Not the Amiga AGA palette output, that's such a weird thing they created there.

Q: Is the sourcecode available?
A: Not right now, but might end up on Github later.

Credits

Main program
 - Anders Eriksson (Evil/DHS)

c2p routine
 - Mikael Kalms (Kalms/TBL)

divu.l math routine
 - From utility.library on Amiga, unknown coder

Download

Download Generic BMP v1.0
Last updated: March 29, 2025
Anders Eriksson (ae@dhs.nu)
© 1994-2025 Dead Hackers Society Contact: Anders Eriksson