Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSJIS ¶
func EncodeSJIS ¶
Types ¶
type MDColor ¶
func NewMDColor ¶
func NewMDColor() *MDColor
type MDCompressor ¶
func NewMDCompressor ¶
func NewMDCompressor(algorithm string, rom generic.ROM) MDCompressor
type MDCompressor_SEGARD ¶
func (*MDCompressor_SEGARD) Marshal ¶
func (segard *MDCompressor_SEGARD) Marshal() []byte
func (*MDCompressor_SEGARD) Unmarshal ¶
func (segard *MDCompressor_SEGARD) Unmarshal() []byte
type MDHeader ¶
type MDHeader struct { Type string Copyright string DomesticTitle string InternationalTitle string SerialNumber string Checksum uint16 Devices string ROMStartAddress uint32 ROMEndAddress uint32 RAMStartAddress uint32 RAMEndAddress uint32 SRAMType [4]byte SRAMStartAddress uint32 SRAMEndAddress uint32 Modem string Reserved1 [40]byte Region string Reserved2 [13]byte }
type MDROM ¶
func (*MDROM) UpdateChecksum ¶
func (rom *MDROM) UpdateChecksum()
func (*MDROM) UpdateHeader ¶
func (rom *MDROM) UpdateHeader()
type MDRawHeader ¶
type MDRawHeader struct { Type [16]byte Copyright [16]byte DomesticTitle [48]byte InternationalTitle [48]byte SerialNumber [14]byte Checksum [2]byte Devices [16]byte ROMStartAddress [4]byte ROMEndAddress [4]byte RAMStartAddress [4]byte RAMEndAddress [4]byte SRAMType [4]byte SRAMStartAddress [4]byte SRAMEndAddress [4]byte Modem [12]byte Reserved1 [40]byte Region [3]byte Reserved2 [13]byte }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.