Author Archives: Lee

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

Paganitzu PCX Library Files – Part 1

According to https://moddingwiki.shikadi.net/wiki/Paganitzu, Paganitzu has three data files that are “PCX Library” files.  That same site has good information about the format of these PCX Library files (https://moddingwiki.shikadi.net/wiki/PCX_Library). Use this link to see all the posts in this “Reverse Engineering … Continue reading

Posted in Programming, Reverse Engineering, Technology | Tagged , , , , , | 1 Comment

Paganitzu Font Data

It’s been a bit since I posted last.  Unfortunately, that seems to be normal for me.  I’ve made quite a bit of progress since last time.  I’ve figured out all the data files, written programs in C# for Windows that … Continue reading

Posted in Programming, Reverse Engineering, Technology | Tagged , , , , , | 1 Comment

Reverse Engineering Paganitzu

One of my most enjoyable hobbies is reverse engineering old 1980s/90s DOS games.  This is very akin to an archeologist learning everything they can about a culture by examining dug up buildings, bones, artifacts, etc.  The original source code for … Continue reading

Posted in Programming, Technology | Tagged , , , , | Leave a comment

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

Back of the brain…

This is going to be a living post.  In it I’ll keep a continually changing and morphing list of things I’ve ran across that I want to dig into further and research, learn, play with, etc.

Posted in Back of the Brain | Tagged , | 1 Comment