Skip to content

Commit

Permalink
Add LICENSE and README
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiorano committed Oct 2, 2014
1 parent 1866264 commit 82ccc8f
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Antonio Maiorano

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# nes-disasm

A command line disassembler for NES roms written in C++

# Example

> nes-disasm "roms\Donkey Kong (JU).nes"

Output:

; nes-disasm - Disassembler for NES roms
; Author: Antonio Maiorano (amaiorano at gmail dot com)
; Source code available at http://github.com/amaiorano/nes-disasm/

; Input file: roms\Donkey Kong (JU).nes
; PRG ROM size: 16384 bytes
; CHR ROM size: 8192 bytes
; Mapper number: 0
; Has SRAM: no

$8000 207006 JSR $0670
$8003 00 BRK
$8004 206406 JSR $0664
$8007 00 BRK
$8008 207806 JSR $0678
$800B 00 BRK
$800C 20B704 JSR $04B7
$800F 00 BRK
$8010 20BC01 JSR $01BC
$8013 00 BRK
$8014 0108 ORA ($08,X)
$8016 08 .byte $02
$8017 08 PHP
$8018 00 .byte $02
$8019 00 BRK
$801A 0501 ORA $01
$801C 00 BRK
...

0 comments on commit 82ccc8f

Please sign in to comment.