https://github.com/nicklausw/asm6n
The 'n' can be for nicklausw, nintendo, nes, whatever. I dunno.
Anyway, here's an NROM example:
Code: Select all
.inesprg 1 ; 1x 16KB bank of PRG code
.ineschr 1 ; 1x 8KB bank of CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (ignore for now)
.inesins ; put ines header in the file!
Also ANSI compatibility. Not sure why. Just wanted it.
This should work from what I've tested, tell me otherwise.