package
0.35.3
Repository: https://github.com/jetsetilly/gopher2600.git
Documentation: pkg.go.dev

# Packages

Package cpu emulates the 6507 microprocessor found in the Atari VCS.
Pacakge input coordinates all the different types of input into the VCS.
Package memory implements the Atari VCS memory model.
Package peripherals is a container package for all the various peripherals for the Atari 2600 that are emulated.
Package preferences (sub-package of the hardware package) coordinates the options for all variations in hardware operation.
Package riot (RIOT) represents the active part of the PIA 6532.
Package television implements the output device of the emulated VCS.
Package TIA implements the custom video/audio chip found in the the VCS.

# Functions

NewVCS creates a new VCS and everything associated with the hardware.

# Constants

The number of times the TIA updates every CPU cycle.
While the continueCheck() function only runs at the end of a CPU instruction (unlike the corresponding function in VCS.Step() which runs every color clock), it can still be expensive to do a full continue check every time.

# Structs

State stores the VCS sub-systems.
VCS struct is the main container for the emulated components of the VCS.