https://github.com/danielah05/smb-disassembly-cc65-ex
A fork of https://github.com/threecreepio/smb-disassembly but with a nicer file structure.
https://github.com/danielah05/smb-disassembly-cc65-ex
asm assembly disassembly nes smb super-mario-bros
Last synced: about 2 months ago
JSON representation
A fork of https://github.com/threecreepio/smb-disassembly but with a nicer file structure.
- Host: GitHub
- URL: https://github.com/danielah05/smb-disassembly-cc65-ex
- Owner: danielah05
- Created: 2021-12-27T03:14:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T18:59:15.000Z (over 3 years ago)
- Last Synced: 2023-09-30T05:33:16.420Z (over 1 year ago)
- Topics: asm, assembly, disassembly, nes, smb, super-mario-bros
- Language: Assembly
- Homepage:
- Size: 568 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SMB Disassembly CC65 EX
A fork of https://github.com/threecreepio/smb-disassembly but with a nicer file structure.
Original SMB Disassembly: https://gist.github.com/1wErt3r/4048722
## Warning
This repo is incredibly incomplete and will get better over time.
Please keep this in mind while browsing the code.
## Setup
To compile this, you will need to install Make and CC65 https://cc65.github.io/
You will also need to get your own rom of Super Mario Bros.:
Super Mario Bros. (World).nes `md5: 811b027eaf99c2def7b933c5208636de`
## Windows Setup
After downloading CC65, create a folder called `cc65` in the main folder and put all of the contents of the zip inside the folder.
## Linux Setup
Run `sudo apt install cc65 make` in your terminal to properly install CC65.
## Building on Windows
First, place your rom into the main folder and rename it to "baserom.nes", the CHR data is extracted from this file.
After that, run:
```
make -f Makefile.windows clean (optional)
make -f Makefile.windows
```## Building on Linux
First, place your rom into the main folder and rename it to "baserom.nes", the CHR data is extracted from this file.
After that, run:
```
make clean (optional)
make
```And if all went well, you should have a "main.nes" file that you can run in any NES emulator, and a "main.nes.dbg" file that you load in the Mesen debugger (using the 'import labels' option, then right click the code view and select 'switch to source view') to get comments and symbols in the built-in debugging tool.