riot

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: GPL-3.0, GPL-3.0 Imports: 4 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
	Input *input.Input
	// contains filtered or unexported fields
}

RIOT represents the PIA 6532 found in the VCS

func NewRIOT

func NewRIOT(mem bus.ChipBus, tiaMem bus.ChipBus) (*RIOT, error)

NewRIOT is the preferred method of initialisation for the RIOT type

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) Update

func (riot *RIOT) Update()

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

Directories

Path Synopsis
Package input represents the input/output part of the RIOT (the IO in RIOT).
Package input represents the input/output part of the RIOT (the IO in RIOT).
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