Documentation
¶
Index ¶
- type Bus
- func (b *Bus) FrameComplete() (v bool)
- func (b *Bus) InitDMA()
- func (b *Bus) LoadState(r *binario.Reader) error
- func (b *Bus) Read(addr uint16) uint8
- func (b *Bus) Reset()
- func (b *Bus) SaveState(w *binario.Writer) error
- func (b *Bus) ScanlineComplete() (v bool)
- func (b *Bus) Tick()
- func (b *Bus) Write(addr uint16, data uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
RAM [2048]uint8
CPU *cpupkg.CPU
PPU *ppupkg.PPU
APU *apupkg.APU
Cart ines.Cartridge
Joy1 *input.Joystick
Joy2 *input.Joystick
Zapper *input.Zapper
DisasmWriter io.StringWriter
DisasmEnabled bool
// contains filtered or unexported fields
}
func (*Bus) FrameComplete ¶
func (*Bus) InitDMA ¶
func (b *Bus) InitDMA()
InitDMA initializes direct memory access callbacks. Should be called after all devices are connected to the bus.
func (*Bus) ScanlineComplete ¶
Click to show internal directories.
Click to hide internal directories.