I am almost certainly going to add some kind of programmable computer to my game. Thinking of making it programmable with assembly and basically implementing something like a 6502 VM that runs a handful of instructions per game tick. But I'm not entirely sure whether to make it an *actual* 6502, or to just make a similar but simplified ISA
Kinda tempted to do the second one, because 1) making ISAs is fun and 2) standard 6502 assembly is ugly so I'd wanna make some changes anyway.. #gamedev
Alright I have designed a little ISA: https://gist.github.com/mortie/d678c4663fe705219e5dfe90e0bbdc3d. It's somewhat 6502-inspiret, but I think it's cute.
Not done yet, but I think it's a decent starting point. Next step: writing a VM and an assembler...