Versions in this module Expand all Collapse all v1 v1.1.0 Mar 9, 2024 Changes in this version + const DisplayHeight + const DisplayWidth + var Base = Color + var Foam = Color + var Gold = Color + var Iris = Color + var Love = Color + var Muted = Color + var Overlay = Color + var Pine = Color + var Rose = Color + var Subtle = Color + var SupportedModes = []string + var Surface = Color + var Text = Color + type CHIP8 struct + I uint16 + Logger *log.Logger + Options CHIP8Options + V [16]byte + func NewCHIP8(program *[]byte) *CHIP8 + func (app *CHIP8) Draw(screen *ebiten.Image) + func (app *CHIP8) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int) + func (app *CHIP8) Update() error + type CHIP8Options struct + CosmacQuirks COSMACQuirks + DisplayScaleFactor int + InstructionLimit int + ThrottleSpeed int + func DefaultCHIP8Options() CHIP8Options + type COSMACQuirks struct + IncrementI bool + ResetVF bool + func (cq *COSMACQuirks) EnableAll() + type Color struct + B uint8 + G uint8 + R uint8 + func (c Color) RGBA() color.RGBA + type Display struct + type Instruction uint16 + type Stack []uint16 + func (s *Stack) Pop() (uint16, error) + func (s *Stack) Push(v uint16)