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) Step ¶
func (riot *RIOT) Step()
Step moves the state of the RIOT forward one video cycle.
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). |
Click to show internal directories.
Click to hide internal directories.