742
ifn't (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] timetravel 21 points 9 months ago

May I introduce you to the joys of #define and creating your own horrible sub language

[-] frezik@midwest.social 6 points 9 months ago* (last edited 9 months ago)

That reminds me of an old paper about how to create a compilable C program out of old game ROMs. Decompile to assembly. Implement a bunch of #define statements that implement all the ASM statements. Now compile it to a native binary on whatever platform.

Won't likely be faster or more accurate than regular emulation methods, but it's a neat idea considering that the source code on all this stuff was lost a long time ago.

this post was submitted on 18 Jan 2024
742 points (98.6% liked)

Programmer Humor

19529 readers
285 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS