Documentation
¶
Index ¶
Constants ¶
View Source
const OFFSEThRAM uint16 = 0xFF80
View Source
const OFFSETio uint16 = 0xFF00
View Source
const OFFSEToam uint16 = 0xFE00
View Source
const OFFSETsRAM uint16 = 0xA000
View Source
const OFFSETvRAM uint16 = 0x8000
View Source
const OFFSETwRAMlower uint16 = 0xC000
View Source
const OFFSETwRAMupper uint16 = 0xE000
View Source
const ROM_OFFSET_NAME = 0x0134
ROM_OFFSET_NAME is the location in every ROM of the name
View Source
const ROM_OFFSET_RAM_SIZE = 0x0149
View Source
const ROM_OFFSET_ROM_SIZE = 0x0148
View Source
const ROM_OFFSET_TYPE = 0x0147
Variables ¶
View Source
var CPU = CPUType{ INSTRUCTIONS: components.INSTRUCTIONS, REGISTERS: &components.REGISTERS, DEBUG: false, }
View Source
var GPU = GPUType{ // contains filtered or unexported fields }
View Source
var ROM = ROMType{ // contains filtered or unexported fields }
View Source
var System = SystemType{ CPU: CPU, ROM: ROM, }
Functions ¶
This section is empty.
Types ¶
type CPUType ¶
type CPUType struct { INSTRUCTIONS []components.InstructionType REGISTERS *components.RegistersType DEBUG bool }
CPU Structure ================ ---> Instructions Array ---> Registers Structure
type INTERRUPTSType ¶
type INTERRUPTSType struct {
// contains filtered or unexported fields
}
Interrupts
var INTERRUPTS INTERRUPTSType = INTERRUPTSType{ // contains filtered or unexported fields }
type ROMType ¶
type ROMType struct {
// contains filtered or unexported fields
}
func (*ROMType) BuildModel ¶ added in v0.0.9
func (rom *ROMType) BuildModel()
BuildModel builds a GTK TreeModel using an instruction map
func (*ROMType) GetName ¶ added in v0.0.9
GetName gets the name of the ROM from within the ROM's file
func (*ROMType) GetRAMSize ¶ added in v0.0.9
GetRAMSize get the size of the ROM's RAM from within the ROM's file
func (*ROMType) GetROMSize ¶ added in v0.0.9
GetROMSize get the size of the ROM from within the ROM's file
type SystemType ¶
System Structure ================ CPU Structure ---> Instructions Array ---> Registers Structure ---> MMU Structure GPU Structure ---> Graphics Processing ---> Screen Pipeline
Click to show internal directories.
Click to hide internal directories.