port of https://www.romhacking.net/documents/635/ to *nix platforms
  • Assembly 86.2%
  • C 13.5%
  • Nix 0.2%
Find a file Use this template
2026-05-23 16:37:08 +02:00
src init 2026-05-23 14:58:42 +02:00
.envrc init 2026-05-23 14:58:42 +02:00
.gitignore working version (flake does not build correctly, should just use make) 2026-05-23 16:37:08 +02:00
flake.lock init 2026-05-23 14:58:42 +02:00
flake.nix working version (flake does not build correctly, should just use make) 2026-05-23 16:37:08 +02:00
Makefile working version (flake does not build correctly, should just use make) 2026-05-23 16:37:08 +02:00
README working version (flake does not build correctly, should just use make) 2026-05-23 16:37:08 +02:00

Building:

NOTE: "chr/smb_chr.chr" is required to assemble. (Not included.)

Run either `make`, or `make debug`

They both will build the .nes rom, but one will also output debug data. 
(Try it and load the rom in NintendulatorDX and step through the code.)
`make clean` will just delete all files in that could be created by either `make`

all the credit to [Movax12](https://www.romhacking.net/community/2056/), original version available at [romhacking.net](https://www.romhacking.net/documents/635/)