apu

package
v0.0.0-...-8886972 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NR10Addr types.Addr = 0x10
	NR11Addr            = 0x11
	NR12Addr            = 0x12
	NR13Addr            = 0x13
	NR14Addr            = 0x14
	NR21Addr            = 0x16
	NR22Addr            = 0x17
	NR23Addr            = 0x18
	NR24Addr            = 0x19
	NR30Addr            = 0x1A
	NR31Addr            = 0x1B
	NR32Addr            = 0x1C
	NR33Addr            = 0x1D
	NR34Addr            = 0x1E
	NR41Addr            = 0x20
	NR42Addr            = 0x21
	NR43Addr            = 0x22
	NR44Addr            = 0x23
	NR50Addr            = 0x24
	NR51Addr            = 0x25
	NR52Addr            = 0x26
)

Offset Addr = FF00

Variables

This section is empty.

Functions

This section is empty.

Types

type APU

type APU struct {
	NR10 byte
	NR11 byte
	NR12 byte
	NR13 byte
	NR14 byte
	NR21 byte
	NR22 byte
	NR23 byte
	NR24 byte
	NR30 byte
	NR31 byte
	NR32 byte
	NR33 byte
	NR34 byte
	NR41 byte
	NR42 byte
	NR43 byte
	NR44 byte
	NR50 byte
	NR51 byte
	NR52 byte
}

func NewAPU

func NewAPU() *APU

func (*APU) Read

func (a *APU) Read(addr types.Addr) byte

func (*APU) Write

func (a *APU) Write(addr types.Addr, value byte)

Jump to

Keyboard shortcuts

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