riot

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: GPL-3.0, GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package riot (RIOT) represents the active part of the PIA 6532. It does not handle the RAM part of the 6532, that can be found in the memory package.

The active parts of the RIOT are:

Timer
I/O system

The timer can be found in the timer package, whereas the I/O system can be found in the input package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RIOT

type RIOT struct {
	Timer *timer.Timer
	Ports *ports.Ports
	// contains filtered or unexported fields
}

RIOT represents the PIA 6532 found in the VCS.

func NewRIOT

func NewRIOT(instance *instance.Instance, mem chipbus.Memory, tiaMem chipbus.Memory) *RIOT

NewRIOT is the preferred method of initialisation for the RIOT type.

func (*RIOT) Plumb added in v0.7.1

func (riot *RIOT) Plumb(mem chipbus.Memory, tiaMem chipbus.Memory)

Plumb new ChipBusses into the RIOT.

func (*RIOT) Snapshot added in v0.7.1

func (riot *RIOT) Snapshot() *RIOT

Snapshot creates a copy of the RIOT in its current state.

func (*RIOT) Step

func (riot *RIOT) Step()

Step moves the state of the RIOT forward one video cycle. Does not include the stepping of the RIOT Ports. See StepPorts().

func (*RIOT) String

func (riot *RIOT) String() string

Directories

Path Synopsis
Package ports represents the input/output parts of the VCS (the IO in RIOT).
Package ports represents the input/output parts of the VCS (the IO in RIOT).
panel
Package panel implements the front control panel of the VCS.
Package panel implements the front control panel of the VCS.
plugging
Package plugging conceptualises the act of plugging devices into the VCS ports.
Package plugging conceptualises the act of plugging devices into the VCS ports.
Package timer represents the timer part of the RIOT (the T in RIOT).
Package timer represents the timer part of the RIOT (the T in RIOT).

Jump to

Keyboard shortcuts

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