core

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: BSD-2-Clause Imports: 8 Imported by: 0

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

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

func (*CPUType) Reset

func (cpu *CPUType) Reset()

func (*CPUType) Run

func (cpu *CPUType) Run(debug bool)

type GPUType

type GPUType struct {
	// contains filtered or unexported fields
}

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) BuildROMModel

func (rom *ROMType) BuildROMModel()

type SystemType

type SystemType struct {
	CPU CPUType
	ROM ROMType
}

System Structure ================ CPU Structure ---> Instructions Array ---> Registers Structure ---> MMU Structure GPU Structure ---> Graphics Processing ---> Screen Pipeline

func (*SystemType) LoadROM

func (system *SystemType) LoadROM(location string, romListStore *gtk.ListStore,
	romTreeView *gtk.TreeView, romProgressBar *gtk.ProgressBar,
	menuDebug *gtk.MenuItem, menuRun *gtk.MenuItem)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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