riot

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 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(prefs *preferences.Preferences, mem bus.ChipBus, tiaMem bus.ChipBus) *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 bus.ChipBus, tiaMem bus.ChipBus)

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.

func (*RIOT) String

func (riot *RIOT) String() string

func (*RIOT) UpdateRIOT added in v0.7.1

func (riot *RIOT) UpdateRIOT()

UpdateRIOT checks for the most recent write by the CPU to the RIOT memory registers.

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).
controllers
Package controllers contains the implementations for all the emulated controllers for the VCS.
Package controllers contains the implementations for all the emulated controllers for the VCS.
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.
savekey
Package savekey implements the SaveKey external memory card.
Package savekey implements the SaveKey external memory card.
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