
                             R o c k N E S 
                  NES videogame emulator and .NSF player
                              for Windows
                         ---------------------
                           1998-2017 Zepper
                           version 5.30b 32bit
                           January 11th 2017
                         ---------------------
                              U S E R ' S
                              M A N U A L

                        (use a monospaced font)

                      http://rocknes.web.fc2.com
                          fx3rnes@hotmail.com

         +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
         |  Topic for feedback and comments at NESdev forums!  |
         |  http://forums.nesdev.com/viewtopic.php?f=3&t=14097 |
         +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+

   LICENSE AGREEMENT [january 2010, last update on january 2017]

   * You're NOT allowed to hack/modify the RockNES software for whatever purpose.
   * Language translations are not authorized.
   * RockNES is freeware, targeted for home use only. DO NOT SELL IT!
   * It can be distributed freely, provided that NO changes were made in the
 original package.
   * Be aware that most popular NES games are still copyrighted with 
 all rights reserved. In most cases, distributing ROM images of such games
 infringes copyright. Please, do NOT distribute the RockNES software along
 with infringing ROMs, including any hardware BIOS.
   * No warranties! Use it at your own risk.
   * The official package contains only the following files:
       +---------------------------------------------------------------+
       | RockNES.exe -- The NES emulator.                              |
       | rocknes.txt -- This document.                                 |
       | oldnews.txt -- Log of updates.                                |
       | alleg44.dll -- Allegro library, http://alleg.sourceforge.net/ |
       | ines.txt    -- Description of the iNES header format used in  |
       |                this emulator.                                 |
       +---------------------------------------------------------------+
   
   * If you disagree with these terms, DELETE THIS SOFTWARE NOW!


 What's new for version 5.30b (01/11/2017)
 -----------------------------------------
 - Fixed a few problems in the GUI dialogs.
 - Fixed a yellow vertical scanline in the 4x squared blitter.
 - Fixed a glitch displaying status messages during gameplay.
 - Fixed PPU clipping and motion blur enable/disable flag in the GUI.
 - Triple buffering should set the video flag to fullscreen, fixed.
 - Fixed version number in the documentation.

 What's new for version 5.30 (01/10/2017)
 ----------------------------------------
 - Major revision of the graphics module and startup.
 - Full rewrite of the game screen upscalers.
 - Removed 4:3 aspect and pixelated blitters, prior to NTSC aspect ratio (squared).
 - Removed the [!] menu from the GUI, general menu rework done.
 - Removed frame scanline interpolation/flickering.
 - Replaced the RGB color style with a new one.
 - Fixed a couple of emulator startup obscure problems.
 - Fixed switching to fullscreen/windowed modes.
 - Added option to save your custom fullscreen mode.
 - Added option to restore all the default settings.
 - Motion blur filtering tweaked a bit.
 - Fixed CHR ROM bankswitch state on savestate loading. This way, PTB tagged blocks
 (1 byte) were replaced by PAT tagged blocks (2 bytes long). Old files are still
 compatible to avoid problems.
 - Fixed a bug in the LSR ($20) CPU instruction.
 - Fixed "value MOD zero" in the PRG bankswitching system.
 - Fixed mapper 25, IRQs should work ok.
 - Fixed mapper 227 and adjusted it to work with 600in1 cart.
 - Added mapper 90 nametable control enable/disable (mapper 211).
 - Added key mapping for turbo buttoms.
 - Added a quick fix for bad NSF files (should be bankswtiched).
 - Added PRG ROM and CHR ROM CRC32 calculations.
 - Changed "Header info" to "File info".
 - Removed mapper 72 due to the bad support and unsupported features.
 - Fixed a couple of errors in the documentation (rocknes.txt).
 - Moved the iNES header description into a separated file.
 - General code rewrites, major cleanups and many cosmetic changes.

   * Read "oldnews.txt" for the full history of updates.
 
 ---------------------------------------------------------------------------
   = KNOWN EMULATION PROBLEMS =

 - The .NSF player always runs at 60hz.
 - A few NSFs don't return from the INIT routine, causing a deadlock.
 - Famicom Disk System support is partial and mostly incomplete.
 - Sound skipping.
 - Old NES demos may stop execution due to the non-zero values in the RAM on power up.
 - There's a small chance of a deadlock while playing .NSF files.

   = NOTICE =

 - No plans for PAL games (50Hz) and any other NES hardware or input devices.
 - No plans for NES 2.0 header, as it requires a major emulator rewrite.
 ---------------------------------------------------------------------------


 Table of contents
 
 1. Description
     Notes.
     First run.
     NES memory overview.
     Supported features.
     Unemulated hardware/features.

 2. Player controls
     Hotkeys and shortcuts.

 3. Using the GUI
     Screen sizes and modes.
     Sound settings.
     Playing NSF music files.
     Palettes and color styles.
     NES memory dumping.

 4. VS System
 5. Famicom Disk System
 6. The PRG ROM disassembler
 7. CREDITS (no special order)

 [==========================================================================]

 1. Description
 --------------

 	RockNES emulates the Nintendo Entertainment System videogame, also known
 as "NES". Compiled and tested under Windows 10, it's fully coded in C, uses
 the Allegro library (audio, video and PC input devices), plus the zLib library
 for loading compressed files.
 	Compiled using Orwell's Dev-C++ UI within GCC 4.8.1 32bit.

 ***************
 * INFORMATION *
 ***************

 * Always using DirectX.
 * Sound output: 48000hz, mono as default. You cannot change the sound sample rate.
 * Video.......: default setting is 2x (512x480 pixels) in windowed mode.
 * Color depth.: 32 bits.
 * Supported input devices are: keyboard, mouse and joysticks.

 *********
 * NOTES *
 ********* 
 - There's no benchmark for a minimal PC hardware requirement. Modern PCs should
 run it without problems. No need of a powerful video card.
 - The configuration file "rocknes.ini" is loaded on startup and auto generated
 when closing RockNES. If you experience annoyances, delete the file and restart
 the emulator.
 - Compressed files are supported, even for loading your saved progress.
 - Certain ascii characters on file names (accents like ,, and more) are NOT
 supported.
 - RockNES can start a game from the command prompt, but no command line switches
 are available.

 *************
 * First run *
 *************

 - When the blue GUI bar appears, pick an option! 
 - Usually you'll go to [Game]->Load ROM...
 - Files must bring a valid header of 16 bytes.
 - The supported files are:

   .NES -- defaults for NES/Famicom games.
   .FDS -- defaults for Famicom Disk System games.
   .NSF -- ripped music code.

         +-----------------------+
         |  NES memory overview  |
         +-----------------------+

          CPU 
          $0000-$07FF: RAM.
          $0800-$1FFF: Mirrors of $0000-$07FF.
          $2000-$2007: PPU registers.
          $2008-$3FFF: Mirrors of $2000-$2007.
          $4000-$4017: APU registers, except $4014 (OAM DMA) and $4016 (inputs).
          $4018-$5FFF: Usually assigned by the cartridge, mapper controlled.
          $6000-$7FFF: Usually PRG RAM or backed battery data.
          $8000-$FFFF: Usually PRG ROM banks.

          PPU
          $0000-$1FFF: CHR RAM or CHR ROM pages.
          $2000-$2FFF: Nametable data.
          $3000-$3E1F: Mirrors of $2000-$2FFF.
          $3F00-$3F1F: Palette (not RGB values).
          $3F20-$3FFF: Mirrors of $3F00-$3F1F.


         +--------------------+
         | Supported features |
         +--------------------+

   - 6502 CPU + APU + PPU emulation, under the NTSC defaults.
   - All the unofficial 6502 CPU opcodes.
   - Joypads 1 and 2.
   - Konami VRC6 sound expansion.
   - Partial VS System support.
   - Backed battery / PRG RAM.
   - Partial Famicom Disk System support, emulated as mapper 20.
   - NSF music files are emulated as mapper 256.
   - Supported mappers: 0,1,2,3,4,5,7,9,10,11,13,15,16,18,19,20,21,22,23,24,25, 
 26,32,33,34,40,41,42,43,44,46,48,57,58,64,65,66,67,68,69,70,71,73,75,76,78,
 79,83,85,86,88,89,90,91,92,93,94,97,99,101,110,113,117,118,119,151,160,180,184,
 187,189,211,225,226,227,228,229,230,231,232,233,234,235,240,243,246,255,256.
   - Joypad data logging for replays.
   - Ability to save/load your progress anytime (also known as "savestates").
   - Complete user's interface (GUI) and configuration file "rocknes.ini".
   - Ability to patch any CPU or PRG ROM/CHR ROM data at a specific address.
   - Sound recording in WAV format.
   - CPU 6502 disassembler.
   - Stereo sound output.
   - Famiclone-style sound output.
   - Various game screen upscalers 2x, 3x, 4x, and 4.5x.
   - Fullscreen triple buffering.
   - Double buffering with optional vertical retrace sync.
   - Motion blur screen filtering.
   - PPU/CPU memory dumping.
   - Palette RAM viewer.

        
         +-------------------------------+
         | Unsupported hardware/features |
         +-------------------------------+

   - PAL emulation (50hz).
   - Famicom, Dendy and other hardwares.
   - Zapper, Power Pad and other input devices.
   - 3rd and 4th joypad.
   - VS Dualsystem/Playchoice-10 upper monitor, requires z80 CPU emulation.
   - Sound expansions like MMC5, VRC7 or Namco N109.
   - MMC5 split screen mode used only by the game "Uchuu Keibitai SDF".
   - Game Genie codes.

 
 [==========================================================================]

 2. Player controls
 ------------------

 > Default settings:

    player 1 -> Input device is KEYBOARD.
    player 2 -> No input device.

   [KEYBOARD]
    D-pad + = Keyboard arrows.
    B       = Z key.
    A       = X key.
    SELECT  = Tab key.
    START   = Enter key.


   [JOYSTICK SETUP]
    D-pad + = joystick D-pad.
    B       = button 2.
    A       = button 1.
    SELECT  = button 3.
    START   = button 4.

        <<--------------------------------------------------------->>
           Hotkeys

  GUI call
  ========
  <ESC> Swap to GUI. 
  While in the GUI, the following shortcuts can be used:
  		*<Ctrl>+X to quit program;
  		*<Ctrl>+L to load ROM.


  Fullscreen/Windowed
  Fast forward
  ===================
  <TILDE> Fast forward (if your PC is fast enough for it).
  <Alt>+<Enter> switches between fullscreen and windowed modes.

  * If the screen height is equals or smaller than the window heigth, the window
  is reset to the defaults (windowed, 512x480 pixels).
  * The minimal screen resolution is 640x480 pixels.


  Frames per second (FPS) visibility
  ==================================
  <F1> toggles FPS display.


  Savestates
  ==========
  <F2> Save state.
  <F3> Slot select, up to 15 (extensions rs0, rs1, rs2... rs9, rsa, rsb... rsf).
  <F4> Restore state.


  RESET
  =====
  <F5> Soft reset. Hold <shift> to hard reset.

 
  Famicom Disk System keys
  ========================
  <F6> disk swap.
  <F7> disk insert/eject.


  VS System keys
  ==============
  <F8> Insert coin$.


  Gameplay recording/screenshot keys
  ==================================
  <F9> Movie recording.
 <F10> Movie play.
 <F11> Quit to OS without mercy.
 <F12> Screenshot (PPU output). Hold <shift> to snap fullscreen/Windows desktop.


  Screen size (upscalers) and mode selection
  ==========================================

  Key  Description
  ---  ----------- 
  <1>  reset to the original size (256x240).
  <2>  cycles between 1x, 2x, 3x, 4x, 4.5x, 2xSQ, 3xSQ, 4xSQ, 4.5xSQ (NTSC SQuare).
  <3>  toggles pixel perfect->NTSC aspect (except for the original size).
  <4>  toggles normal->scanlines.
  <5>  changes the PPU color style. Hold <shift> to go backwards.

  * While in windowed mode, the screen upscaler cannot be bigger or equals to the
  screen height; in that case, the upscaler will reset to the defaults (512x480). 

 [==========================================================================]

 3. Using the GUI
 ----------------

 Note! The symbol > denotes a submenu for it.

           [ |Game|  CPU   Misc   Options   ?  ]
             +-----------------+ 
             | Load ROM...     | File select (NES,NSF,FDS,ZIP,GZ).
             | File info       | View header/file info.
             +-----------------+
             | Take screenshot | Screenshot saved as bitmap (BMP).
             | Sound recorder  | WAV files at 48000hz, 16bit.
             | Quit            | Close the program.
             +-----------------+


           [  Game  |CPU|  Misc   Options   ?  ]
                    +------------------+
                    | Reset            | Soft reset.
                    | Hard reset       | Hard reset, power off->on.
                    +------------------+
                    | Save state       | Save your progress.
                    | Restore state    | Restore your progress.
                    +------------------+
                    | PRG disassembler | PRG ROM disassembler and CPU state.
                    | Set address...   | An alternate interface.
                    +------------------+
                    | View CPU state   | Registers and banks.
                    | Memory dump...  >  Saves NES memory to disk.
                    +------------------+

       +-------------+ 
    ---> RAM         |  (*.ram) NES RAM memory $0000-$07FF.
       | $6000-$7FFF |  (*.wrm) Usually PRG RAM or backed battery data.
       | $8000-$FFFF |  (*.p8f) PRG ROM data.
       |_____________| 
       | PRG ROM     |  (*.rom) PRoGram ROM data (cartridge).
       | CHR ROM     |  (*.chr) CHaRacter ROM data (cartridge).
       |_____________|
       | CHR RAM     |  (*.ppu) Character RAM data (PPU).
       |_____________|
       | Palette RAM |  (*.plt) Color look-up table $3F00-$3F1F, 32 bytes long.
       | Nametables  |  (*.nam) Tiles and color attributes, 4 x $400 bytes.
       | Sprites     |  (*.oam) Also known as sprite RAM, 256 bytes long.
       +-------------+


           [  Game   CPU  |Misc|  Options   ?  ]
                          +------------------+
                          | Movie...        >| movie stop, play, status.
                          | Palette...      >| .PAL files and colors.
                          +------------------+
                          | ROM corruption   | Corrupts a portion of memory.
                          | ROM patch        | Modify any PRG ROM data at certain address.
                          | CPU memory patch | Modify any CPU value at certain address.
                          +------------------+


           [  Game   CPU   Misc  |Options|  ?  ]
                                 +------------------+
                                 | Video...        >  Submenu for video options.
                                 | Sound settings   | Sound configuration.
                                 | Input devices    | Input device configuration.
                                 | Turbo speed      | Turbo for buttoms.
                                 +------------------+
                                 | Set directories  | Configure directories.
                                 | General settings | A couple of other options.
                                 +------------------+ 
       +------------------------+ 
    ---> Screen size            | Select the screen size (blitter).
       | Set resolution         | Select a custom fullscreen/windowed size.
       | Use desktop resolution | Use the current desktop resolution for fullscreen.
       |________________________| 
       | Buffering method       | Selects triple or double buffering.
       +------------------------+

           [  Game   CPU   Misc   Options | ? |]
                                        +------------------+ 
                                        | System info      | Video/audio/inputs.
                                        | Video info       | Video context.
                                        | Restore defaults | Restore all the default settings.
                                        +------------------+ 
                                        | About RockNES... | Version info and copyright.
                                        +------------------+ 

        <<--------------------------------------------------------->>
           Screen sizes and modes

 - The original NES PPU has 256x240 pixels. In old NTSC TVs, only 256x224 pixels are
 visible. This clipping option is not avaliable in RockNES.
 - The triple buffering mode minimizes the screen tearing effect/flickering.
 It'll always be in fullscreen mode, and you can't switch to a windowed mode.
 - Available upscalers (screen sizes) are listed below.

 0 - ORIGINAL SIZE 256x240
 1 - 2x SIZE 512x480 PIXEL PERFECT
 2 - 3x SIZE 768x720 PIXEL PERFECT
 3 - 4x SIZE 1024x960 PIXEL PERFECT
 4 - 4.5x SIZE 1152x1080 PIXEL PERFECT
 5 - 2x SIZE 584x480 SQUARE ASPECT
 6 - 3x SIZE 876x720 SQUARE ASPECT
 7 - 4x SIZE 1168x960 SQUARE ASPECT
 8 - 4.5x SIZE 1314x1080 SQUARE ASPECT
 
        <<--------------------------------------------------------->>
           Sound settings

 [x] Sound output...........: enable/disable sound output.
 [ ] Use stereo mode........: enables stereo mode.
 [ ] Use famiclone style....: swaps pulse waves duty cycles to sound like famiclones.
 [ ] Use unsigned samples...: use unsigned samples, no high-pass filtering is applied.
 [ ] Use interpolation......: an easy sound sample interpolation, more bass.

 
        <<--------------------------------------------------------->>
           Playing NSF music files

 - NSF is a piece of sound music code, usually ripped from .NES files or created by a
 music sequencer like Famitracker.
 - During the playback, coloured circles are drawn in the screen.

     +-----------------------------+
     | dark blue..: pulse wave #1  |
     | light blue.: pulse wave #2  |
     | red........: triangle wave  | normal APU
     | white......: noise wave     |
     | green......: DMC playback   |
     +-----------------------------+
     | dark pink..: VRC6 square #1 |
     | light pink.: VRC6 square #2 | VRC6 sound
     | orange.....: VRC6 sawtooth  |
     +-----------------------------+

 - Keyboard arrows change tracks.   <-PREVIOUS   NEXT->
 - Key <ENTER> (re)plays the current track.
 - You can use savestates.
 - There's no way to manually stop a track playback.


        <<--------------------------------------------------------->>
           Palettes and color styles

 - RockNES has a 16bit RGB palette created from the PlayStation game
 "Rockman Complete Works". The missing entries were filled up from a palette
 provided by Chris Covell. However, the #nesdev palette is now the default one
 because of its accuracy in replicating the NTSC colors.

 [  !   Game   CPU  |Misc|  Options   ?  ]
                    +-----------------------+
                    | Movie...             >+---------------------+
                    | Palette...           >| Load palette        |
                    |_______________________| Save palette        |
                    | PRG ROM patching      | Set default palette |
                    | PRG ROM corruption    |_____________________|
                    | CPU value modifier    | Color style         |
                    |_______________________|_____________________|
                                            | VS palette tables   |
                                            | VS RGB palettes     |
                                            |_____________________|
                                            | View palette RAM    |
                                            |_____________________|


 - Palette files (.pal) must bring 64 RGB triplets, making 192 bytes long.
 - Color emphasis palettes are auto generated; no need of storing them together!


 * COLOR STYLE *
 ***************

 => You can change the game color style!
 
     0. Default colors.........: Normal palette.
     1. RGB emphasis...........: Kills cianos, browns or vine color tunes.
     2. Game Boy (green).......: Game Boy green scale.
     3. Game Boy (green)(alt)..: Game Boy alternate green scale.
     4. Game Boy (green)(alt+).: adds brightness correction.
     5. Game Boy (alt).........: Game Boy 4 colors - black, green, blue and white.
     6. Game Boy (alt+)........: adds brightness correction.
     7. Game Boy (grayscale)...: Game Boy 4 shades of gray.
     8. Black & white..........: 2 colors.
     9. Black & white+.........: black, white and gray.
    10. Red emphasis...........: deemphasis green and blue.
    11. Green emphasis.........: deemphasis red and blue.
    12. Blue emphasis..........: deemphasis red and green.
    13. Grayscale..............: monochrome.
    14. Grayscale (alt)........: monochrome with brightness correction.
    15. Grayscale (alt)(neg)...: negative monochrome.
    16. Sepia..................: reddish-brown color.
    17. Sepia (neg)............: the negative color of sepia (blue+white).
    18. Mushroom...............: shifted colors.
    19. Royal Yellow...........: shades of yellow.
    20. Navy Blue (Crayola)....: shades of blue.
    21. Spanish Red............: shades of red.
    22. Plant Green............: shades of green.
    23. Magenta Mask...........: shades of magenta.

 - These options are located at GUI [Misc] -> Palette... -> Color style.
 - Press key <5> to cycle through them. Hold <shift> to go backwards.

 [==========================================================================]

 4. VS System
 ------------

 - Partial support, ROMs must be in iNES format.
 - A few games use mapper 99 (VS Super Mario Bros), but others may use any mapper.

 - Quote from the Wikipedia belows. 
 "The Nintendo VS Series was a series of arcade video games designed for 
 two player competitive play using the VS. UniSystem or VS. DualSystem, arcade
 system boards based on the Nintendo Entertainment System. Many of these 
 stand-up or sit-down arcade machines had two screens and controls joined at an
 angle. These games were arcade ports of home video games for the Nintendo
 Entertainment System, thus they could be sold cheaply to arcades in the late
 1980s".
 http://en.wikipedia.org/wiki/Nintendo_Vs._Series/
 
 - Once you load a game, choose a RGB palette OR a color lookup table. 
 Go at [Misc]->Palette and pick an option. Game titles are just quick references.
 - Press <F8> to insert coins. DIP switches are NOT supported.

 [==========================================================================]

 5. Famicom Disk System (FDS)
 ----------------------------

 - It's a peripheral for the Nintendo Family Computer console in Japan. It was a
 unit that used proprietary floppy disks, called "Disk Cards" for data storage.
 Currently, the disk images were poorly dumped, missing important data. Notice an
 effort for emulating these games.
 - There's partial support and not guaranteed that a FDS game will work in RockNES.
 At anyway, the emulation requires the BIOS file "disksys.rom" placed together with
 the RockNES program. Supported games use the .FDS extension. 
 - Once you load a game, the BIOS initializes the system. When the title screen
 appears, you usually is prompted to switch the disk side. Press <F7> to eject the
 virtual disk, then <F6> to change the virtual disk side, then <F7> again to reinsert
 the virtual disk.
 - No extra sound is emulated.
 
 [==========================================================================]

 6. The PRG ROM data disassemblers
 ---------------------------------

 ** NOTE that there's no support for debugging, such as inserting breakpoints
 or watching certain RAM or other memory locations.


 ##################################
 # [1] Disassembler overview      #
 ##################################

 +------------------------------------+
 |$8000 *A=90, X=05, Y=00, S=FF, P=A5 |  -> CPU registers: PC, A, X, Y, S, P.
 |PRG bank 08 [$1C000]                |  -> PRG ROM bank number and file offset.
 |+----------------------------------+| 
 ||8000 78       SEI                 || 
 ||8001 D8       CLD                 ||
 ||8002 A9 10    LDA #$10            || 
 ||8004 8D 00 20 STA $2000           ||
 ||8007 A2 FF    LDX #$FF            ||
 ||8009 9A       TXS                 ||
 ||800A AD 02 20 LDA $2002           ||  -> 6502 program code.
 ||800D 10 FB    BPL $800A           ||
 ||800F AD 02 20 LDA $2002           ||
 ||8012 10 FB    BPL $800F           ||
 ||8014 A0 FE    LDY #$FE            ||
 ||8016 A2 05    LDX #$05            ||
 ||8018 BD D7 07 LDA $07D7, X        ||
 ||801B C9 0A    CMP #$0A            ||
 ||801D B0 0C    BCS $802B           ||
 ||801F CA       DEX                 ||
 |+----------------------------------+|
 | BASE ADDRESS SELECT:               |
 |( )$4000 ( )$5000 ( )$6000 ( )$7000 |  -> CPU base address selection.
 |(o)$8000 ( )$9000 ( )$A000 ( )$B000 |
 |( )$C000 ( )$D000 ( )$E000 ( )$F000 |
 +------------------------------------+

 > If you select $8000, the entire PRG ROM bank at $8000-$8FFF is disassembled.
 > Click "Refresh" to disassemble the current selected CPU region.
 > This feature is read-only, so you cannot modify anything from here.

 ##################################
 # [2] Custom disassembler mode   #
 ##################################

 +---------------------------------------------------+
 |+-------------------------------------------------+|
 || Disassembler                                 [X]||
 |+-------------------------------------------------+|
 |                                                   |
 |  Base address:                                    |
 |   8000___ [Refresh] [o]CPU  [ ]ROM     [Save]     |
 |                                                   |
 |+---------------------------------+ +------------+ |
 ||8000 78       SEI                | |PC=$8057    | |
 ||8001 D8       CLD                | | A=$90      | |
 ||8002 A9 10    LDA #$10           | | X=$05      | |
 ||8004 8D 00 20 STA $2000          | | Y=$00      | |
 ||8007 A2 FF    LDX #$FF           | | S=$FF      | |
 ||8009 9A       TXS                | | P=$A5      | |
 ||800A AD 02 20 LDA $2002          | |            | |
 ||800D 10 FB    BPL $800A          | |$6000 = $FF | |
 ||800F AD 02 20 LDA $2002          | |$8000 = $00 | |
 ||8012 10 FB    BPL $800F          | |$A000 = $01 | |
 ||8014 A0 FE    LDY #$FE           | |$C000 = $02 | |
 ||8016 A2 05    LDX #$05           | |$E000 = $03 | |
 ||8018 BD D7 07 LDA $07D7, X       | |            | |
 ||801B C9 0A    CMP #$0A           | |            | |
 ||801D B0 0C    BCS $802B          | |            | |
 ||801F CA       DEX                | |            | |
 |+---------------------------------+ +------------+ |
 +---------------------------------------------------+

 > It's much like the previous one with a different layout. The PRG bank
 numbers are displayed. Usually, a value of $FF indicates open bus.
   * Switch to CPU for disassembling data from any CPU space.
   * Switch to PRG for disassembling using ROM data address.
   * Click [Save] to write the disassembled data into a text file.

 > NOTE: PRG ROM banks are disassembled within 4096 bytes ($1000).
 Since the disassembler cannot cross the page, the output will always start at
 base address $8000, $9000, $A000 etc., ignoring the offset.


 [==========================================================================]

 7. CREDITS (no special order)
 -----------------------------

 NesDev community
 http://forums.nesdev.com
 http://wiki.nesdev.com/w/index.php/Nesdev_Wiki

 gcc (GCC) 4.8.1
 Copyright (C) 2013 Free Software Foundation, Inc.

 The Dev-C++ resource site
 http://www.bloodshed.net/dev

 Orwell Dev-C++
 The main site of the 2011 Dev-C++ fork
 http://orwelldevcpp.blogspot.com.br/

 Allegro library, by Shawn Hargreaves
 http://alleg.sourceforge.net/

 Alastair Bridgewater - author of Darcnes, a NES emulator.
 
 Jeremy Chadwick
 http://jdc.koitsu.org/

 unzip.c -- IO for uncompress .zip files using zlib
 Version 1.01h, December 28th, 2009
 Copyright 1998-2009 Gilles Vollant

 Quietust
 http://www.qmtpro.com/~nes/nintendulator/

 Marat Fayzullin
 http://fms.komkon.org

 FCEUX
 http://www.fceux.com/web/home.html 

 [=========================================================================]
EOF