r/programminghelp • u/lmperceptible • Mar 18 '19
How do I go from assembly code to an nes image/rom/playable game file?
I'd like to code in assembly, not C. How do I make my code into a playable file?
4
Upvotes
r/programminghelp • u/lmperceptible • Mar 18 '19
I'd like to code in assembly, not C. How do I make my code into a playable file?
2
u/FredTargaryen Mar 18 '19
You would have to learn the NES instruction set and architecture, and program entirely in that. Once you've made a file with all the instructions in there you'd have to find out the format of a NES file and make sure your file matches that (luckily for a NES I think it's like a 14-byte header and you're ready to go).
Then you could just load that file into an emulator and it should work. I think this would be a long and exhausting undertaking - unless there's some kind of NES compiler out there - but wiki.nesdev.com has probably all the info you will need for it.