riot

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: GPL-3.0, GPL-3.0 Imports: 6 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(env *environment.Environment, 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(env *environment.Environment, mem chipbus.Memory, tiaMem chipbus.Memory)

Plumb new ChipBusses into the RIOT.

func (*RIOT) QuickStep added in v0.19.0

func (riot *RIOT) QuickStep()

Step moves the state of the RIOT forward one CPU cycle. Does not check to see if the state of RIOT memory has changed.

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(reg chipbus.ChangedRegister)

Step moves the state of the RIOT forward one CPU cycle.

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