
                Wonderswan Header Listing Tool v0.4
                         (c) 2001 by Judge_

Usage: wsheader [-s] <wonderswan_rom_filename>

This will give you several lines of information about the rom file:
- Game name
- Whether the game dump is known to the internal database
- Publisher name
- Release date of the game
- Cartridge code
- Game type
- No. of Players
- Mono/Stereo Sound
- Link Cable Support
- Wondergate Support
- B&W/B&W + Color/Color Compatibility
- Romsize
- Save area type & size
- Playing orientation
- Checksum of the rom

The checksum and romsize in the header are calculated and checked with
the checksum and filesize of the rom file. The tool will tell you if any
of these are incorrect.

The -s option outputs some data regarding the rom image in one line. This line
has the following format:
<filename>,<cartidge code>,<known dump>,<checksum><checksum ok/bad>,<romsize><romsize ok/bad>,<name>

At the moment not all definitions and meanings of all bits and bytes in the
Wonderswan rom header are fully known. This will result in some missing data
for roms for which this is the case.
If a rom image is not known the three bytes that identify the code of the game
are output in hexadecimal in the Cartridge Code field (long version only).

The EEPROM->SRAM hacked roms images are not supported.

Revision History:
	v0.4 - 25-Jun-2001
	  - Added support for company code 0x02, TAT
	  - Added support for company code 0x08, NHB
	  - Added support for company code 0x0A, CCJ
	  - Added support for company code 0x10, JLC
	  - Added support for company code 0x16, KBS
	  - Added support for company code 0x19, SRV
	  - Added support for company code 0x1A, CFT
	  - Added support for company code 0x21, KDX, Kid's second company id/code
	  - Added support for company code 0x22, HAL
	  - Changed rom identification code, roms are no first checked by matching
	    checksum, if that's impossible an attempt is made to identify the rom
	    by company id, color id & game id
	  - Added 'Found in database' line
	  - Added 'Game type' line
	  - Added 'No. of Players' line
	  - Added 'Sound' line, listing whether the game has mono or stereo sound
	  - Added 'Link Cable Support' line
	  - Added 'Wondergate Support' line
	  - Added 'Compatibility' line, listing whether game works on B&W wonderswans,
	    color wonderswans, or both
	v0.3 - 04-Jun-2001
	  - Incoporated the Yuu Database for correct naming and release dates
	v0.2 - 26-May-2001
	  - Added support for 64Mbit sized roms
	  - Added support for company code 0x06, AAE
        - Added the file name line
	v0.1 - Initial code
