logoalt Hacker News

EvanAndersontoday at 12:43 AM2 repliesview on HN

I wrote a simple tool, when I was a kid, that dumped binaries into VGA mode 0x13 and allowed me to vary the width. Mode 0x13 is one byte per pixel so it was just a simple REP MOVSB to put data into the buffer (no worrying about bitplanes). It was so useful in reverse engineering software. Besides raster data, regular data structures often jump out.


Replies

Retr0idtoday at 1:01 AM

Fun fact, if you load a file with extension ".data" into GIMP there's a UI where you can set the pixel format and adjust the width/height with sliders

show 1 reply
CamelCaseCondotoday at 5:27 AM

I did the same thing to evaluate random number generators by drawing pixels with the count value. You see a pattern, line or clusters? Bad generator.