Brian Cassidy

NAME

Games::NES::ROM::Format::UNIF - Loads data from a ROM in UNIF format

DESCRIPTION

This module loads the details of an NES rom in UNIF format. A UNIF file is layed out as follows:

    +----------+
    | "UNIF"   | 4 Bytes
    +----------+
    | Revision | 32-bit Word
    +----------+
    | Filler   | 24 Bytes
    +----------+
    | Chunk ID | 4 Bytes
    +----------+
    | Length   | 32-bit Word
    +----------+
    | Data     |
    +----------+
    etc...

METHODS

BUILD( )

A Moose method which loads the ROM data from a file.

ATTRIBUTES

Along with the base attributes, the following UNIF specific attributes are available:

  • id - UNIF identifier: "UNIF"

  • revision - The revision of the UNIF spec for this file

  • comments - A set of text comments

  • tvci - Television standards compatability information

  • controller - The controllers used by the cartridge

  • has_vror - The ROM has a VRAM override

SEE ALSO

  • Games::NES::ROM

  • http://www.viste-family.net/mateusz/nes/html/tech/unif_cur.txt

AUTHOR

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007-2013 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.