52-pixel bitmap tool
krokodile_commander.zip(52 and 48 pixel Pac-Man logos by DEBRO)I have attached a tool that converts a 52-pixel wide BMP file to assembly code that can be plugged into a kernel. The BMP file should be set to 256 colors, but the program only reads it as monochrome. To set the colors for each line, you have to manually change the data in the C code. If you don't have a compiler, you can edit the assembly code too.You will see from the code that it uses a lot of ROM. The routine takes 56 bytes per line. However as most homebrews are less than 32K, you can probably fit in your image. Also the shape and colors of the bitmap are static due to immediate addressing. If you need to save space or want animation, you may be better off with a 51-pixel image.The maximum height within a single 4K bank is about 67 lines.Let me know if you have any questions, because there could be some detail I forgot to explain. Have fun!2600tradelist.zip
Sign in to follow this
Followers
0

16 Comments
Recommended Comments