nes

package
v0.0.0-...-7b13208 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CHARACTER_ROM_SIZE int = 0x2000 //8KB unit キャラクターROMの単位
View Source
const NES_HEADER_SIZE int = 0x0010
View Source
const PROGRAM_ROM_SIZE int = 0x4000 //16KB unit プログラムROMの単位

Variables

This section is empty.

Functions

This section is empty.

Types

type Nes

type Nes struct {
	Rom Rom
	Ram bus.Ram

	ProgramRom bus.Rom
	PpuBus     bus.PpuBus
	Interrupts *cpu_interrupts.Interrupts
	Dma        dma.Dma
	Ppu        ppu.Ppu
	CpuBus     cpubus.CpuBus
	Cpu        cpu.Cpu
	// contains filtered or unexported fields
}

func New

func New(data []byte) Nes

func (*Nes) Load

func (nes *Nes) Load()

func (Nes) Start

func (nes Nes) Start()

type Rom

type Rom struct {
	ProgramRom   []byte
	CharacterRom []byte
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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