mattheweston wrote:
I understand that you code a game in assembler
Just to clarify: The name of the language is "assembly", "assembler" is the program that converts assembly programs into machine language.
Quote:
but how do you get from that to the .Rom file that you can play on an emulator?
Like Gradualore said, you use an assembler, which converts the source code into machine language. However, assemblers don't output valid NES ROMs by themselves (seeing as they can be used for various machines that use the same CPU, not only the NES), so it's your responsibility to make sure that the output file has a valid iNES header, all the PRG-ROM banks in order, followed by the CHR-ROM banks (if any). If you don't obey the structure, emulators will not recognize your file as a NES ROM.