Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Super Mario Bros. Recomp

A modding project built on top of the Super Mario Bros. disassembly by doppelganger.

Prerequisites

  • asm6f — place the asm6f binary in the project root
  • A dumped Super Mario Bros. NES ROM (smb.nes)

Setup

  1. Place your smb.nes ROM in the project root.

  2. Extract the CHR (character/graphics) ROM data:

    make extract_character

    This produces mario.chr from the original ROM.

Building

make assemble

The assembled ROM is written to out/smb.nes. Without any modifications to the source, this produces a byte-for-byte identical ROM to the original.

The build process strips the .index and .mem directives from SMBDIS.ASM before assembling. These are x816 (65816 assembler) directives that set 8-bit mode, which is a no-op on the NES's 6502 CPU and unsupported by asm6f.

Project Structure

File Description
SMBDIS.ASM Original SMB disassembly (unmodified)
build.asm iNES 2.0 header and ROM assembly wrapper
mario.chr CHR ROM data (extracted from original ROM)
Makefile Build commands

About

Super Mario Bros. recomp project.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages