Documentation ¶
Overview ¶
Package signal exposes the interface between the VCS and the television implementation.
Index ¶
Constants ¶
View Source
const NoSignal = -1
Index value to indicate that the signal is invalid
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorSignal ¶
type ColorSignal uint8
ColorSignal represents the signal that is sent from the VCS to the television.
const VideoBlack ColorSignal = 0xff
VideoBlack is the ColorSignal value that indicates no pixel is being output.
type SignalAttributes ¶
type SignalAttributes struct { Index int VSync bool VBlank bool CBurst bool HSync bool AudioUpdate bool AudioChannel0 uint8 AudioChannel1 uint8 Color ColorSignal }
SignalAttributes represents the data sent to the television
When reset the Index field should be set to NoSignal and the Color field should be set to VideoBlack
func (SignalAttributes) String ¶
func (a SignalAttributes) String() string
Click to show internal directories.
Click to hide internal directories.