Category Archives: Uncategorized

Detecting 86/87 GIME and NTSC/PAL

Cloud Kingdoms needs to use very precise timing to know when to switch from graphics mode to text mode for the score area at the bottom of the screen.  If the timing is off by even a little bit, flickering … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

ChatGPT on the Royal Game of Ur

Posted in Uncategorized | Leave a comment

Paganitzu PCX Library Files – Part 2

In Part 1, we saw that each “file” stored inside the PCX Library file started with an 84-byte header.  In this post we’ll look at the files stored inside the Paganitzu data file PAGA1.004 and see what they are.  Here’s the format … Continue reading

Posted in Uncategorized | Tagged , , , , | 3 Comments

Building DOSBox

One of my favorite hobbies is reverse engineering 16-bit x86 DOS games. Being able to step through their code as they’re running and set breakpoints is a majorly useful tool. I was using DOSBox and the normal DOS DEBUG command … Continue reading

Posted in Programming, Uncategorized | Tagged , , | 4 Comments

Quantizing Colors in an image using an Octree and a Binary Heap

Introduction Quantizing the colors in an image is the process of reducing the number of distinct colors in an image, leaving the picture as visually similar as possible to the original image.  Some examples of why you might want to … Continue reading

Posted in Uncategorized | Leave a comment

Mid-life crisis and electronics!

My normal way of tackling hobbies is to dive head first into something (electronics, game programming, wood working, paper craft, robotics, leather working, …) and pour my heart and soul into it… for about 2 weeks.  Then my enthusiasm wanes … Continue reading

Posted in Uncategorized | Leave a comment