it's written in Emacs Lisp. I wrote an assembler for ARM and Thumb, the ISAs used on the GBA, inside of elisp. This lets me translate sexprs like "(mov r0 r1)" into the corresponding bytes of machine code. I then built a lot of stuff on top of the assembler to make it nicer to use, like symbol tables, helpers for doing conditionals and loops and functions, etc. It was a ton of fun!
LCOLONQ
5
Posts
7
Followers
A member registered May 26, 2024
Creator of
gamble with fish on the Game Boy Advance
Recent community posts
Clonk's Quest Gaiden: Kalamari Dominancy EX Advance (Remastered Edition) jam comments · Replied to nebunez in Clonk's Quest Gaiden: Kalamari Dominancy EX Advance (Remastered Edition) jam comments
Clonk's Quest Gaiden: Kalamari Dominancy EX Advance (Remastered Edition) jam comments · Replied to Baleine in Clonk's Quest Gaiden: Kalamari Dominancy EX Advance (Remastered Edition) jam comments
thank you so much! I think I will continue trying this technique out but maybe for a different architecture. the game boy's limitations (mostly not having many registers, needing two registers to store an address, slow) make it kinda tricky - your compiler has to be pretty smart if you want decent code! I might try out a similar thing on x86_64 (or maybe ARM, for the GBA). much to do!
(love your site by the way! big fan!)

