rom

package
v0.0.0-...-51a18f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LoROM type
	LoROM = iota
	// HiROM type
	HiROM
	// ExLoROM type
	ExLoROM
	// ExHiROM type
	ExHiROM
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ROM

type ROM struct {
	Data  []byte // Raw bytes of the rom
	Title string // Rom title

	SRAMSize uint // SRAM size
	Type     uint // Type of the Rom (LoROM, HiROM, ExLoROM, ExHiROM)
	// contains filtered or unexported fields
}

ROM struct

func ParseROM

func ParseROM(data []byte) (*ROM, error)

ParseROM parses a ROM file representation in bytes and return a representation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL