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