• @timetravel
    link
    2111 months ago

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

    • @frezik@midwest.social
      link
      fedilink
      6
      edit-2
      11 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.