Games::NES::ROM 0.05

Games::NES::ROM is a Perl module used to view information about an NES game from a ROM file.
Games::NES::ROM is a Perl module used to view information about an NES game from a ROM file.

SYNOPSIS

use Games::NES::ROM;

# Read in the ROM
my $rom = Games::NES::ROM->new( 'file.nes' );

# Access the details
print 'PRG Banks: ', $rom->PRG_count, "n";
print 'CHR Banks: ', $rom->CHR_count, "n";
# etc...

# View the CRC checksum
print 'CRC: ', $rom->CRC;

This module loads the details of an NES rom file. An NES ROM file is layed out as follows:

+-----------+---------------+---------+---------+ Header
| NESx01a | [PC] [CC] X X | X X X X | X X X X | 16 Bytes
+-----------+---------------+---------+---------+
| |
| PRG Banks (PC * 16384 Bytes) |
| |
+-----------------------------------------------+
| |
| CHR Banks (CC * 8192 Bytes) |
| |
+-----------------------------------------------+
| |
| Title (128 Bytes - Optional) |
| |
+-----------------------------------------------+

Requirements:

· Perl

INSTALLATION

perl Makefile.PL
make
make test
make install

last updated on:
February 27th, 2008, 14:40 GMT
price:
FREE!
developed by:
Brian Cassidy
license type:
Perl Artistic License 
category:
ROOT \ Programming \ Perl Modules

FREE!

In a hurry? Add it to your Download Basket!

user rating 43

UNRATED
4.0/5
 

0/5

Add your review!

SUBMIT