Breaking Eggs And Making Omelettes

Topics On Multimedia Technology and Reverse Engineering


SDL Corruption Corrected

February 22nd, 2006 by Multimedia Mike

When I do presentations on multimedia technology I make the point that data is more important than code which is to say that understanding data formats is more useful than being able to run binary code. This little exercise is a good illustration of that. Initially, if someone wanted to see the multimedia, they needed access to an original IBM PC to run it as it was originally intended. It is also apparently possible to run it under DOSBox. In that case you are still running the original binary code to interpret the data. Now along comes this third solution which throws out the original code and just interprets the data with portable, open code.

Download Trixter’s original 8088 Corruption package from his site. Download the sdl_corruption.c program and the CGA_FONT.8X8 font file from Make sure you have SDL. Compilation is straightforward on Unix. At the very least, it works on x86 and AMD64 machines running Linux. You are on your own for other platforms.

Corrected Eiffel Breakdancer Image
There, that looks correct, or as correct as it is supposed to look.

I did not bother to add sound output because I was lazy. Hey, I solved the harder problem of rendering the font vectors. I also added a few spiffy features such as allowing the user to seek and pause the video.

Posted in Open Source Multimedia | 3 Comments »

3 Responses

  1. Jim Leonard Says:

    I am *very* flattered. There goes another 30 seconds of fame :-D

  2. john_doe Says:

    Just FYI: I successfully compiled the player under Windows XP with Dev-C++ (MingW32 should work then, too). The only thing I had to change was the main function header to include command line arguments.

    Very nice you two :)

  3. Jim Leonard Says:

    In a few days I’ll be updating the 8088 Corruption website with this info, and also adding a user-contributed video (!).