Documentation ¶
Overview ¶
Package banks contains types that are used by the cartridge package to communicate information about catridge banks to the debugger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct { Number int // copy of the bank data Data []uint8 // the segment origins that this data is allowed to be mapped to. most // cartridges will have one entry. values in the array will refer to // addresses in the cartridge address space. by convention the mappers will // refer to the primary mirror. // // memorymap.OriginCart <= origins[n] <= memorymap.MemtopCart // // to index the Data field, transform the origin and any address derived // from it, with memorymap.CartridgeBits // // idx := Origins[0] & memorymap.CartridgeBits // v := Data[idx] // Origins []uint16 }
Content contains data and ID of a cartridge bank. Used by IterateBanks() and helps the disassembly process.
Click to show internal directories.
Click to hide internal directories.