Documentation ¶
Overview ¶
Package panel implements the front control panel of the VCS.
Index ¶
- func NewPanel(id plugging.PortID, bus ports.PeripheralBus) ports.Peripheral
- type Panel
- func (pan *Panel) HandleEvent(event ports.Event, value ports.EventData) error
- func (pan *Panel) Name() string
- func (pan *Panel) Plumb(bus ports.PeripheralBus)
- func (pan *Panel) PortID() plugging.PortID
- func (pan *Panel) Reset()
- func (pan *Panel) Step()
- func (pan *Panel) String() string
- func (pan *Panel) Update(data bus.ChipData) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPanel ¶
func NewPanel(id plugging.PortID, bus ports.PeripheralBus) ports.Peripheral
NewPanel is the preferred method of initialisation for the Panel type.
Types ¶
type Panel ¶
type Panel struct {
// contains filtered or unexported fields
}
Panel represents the console's front control panel.
func (*Panel) HandleEvent ¶
HandleEvent implements Peripheral interface.
func (*Panel) Plumb ¶
func (pan *Panel) Plumb(bus ports.PeripheralBus)
Plumb implements the Peripheral interface.
Click to show internal directories.
Click to hide internal directories.