video

package
v0.0.0-...-cc98a46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CYCLE = 2

Variables

This section is empty.

Functions

This section is empty.

Types

type VRAM

type VRAM struct {
	// contains filtered or unexported fields
}

type Video

type Video struct {
	FrameCounter uint64
	// contains filtered or unexported fields
}

func New

func New(onInterrupt func(id int), onHBlank func()) *Video

func (*Video) CatchUp

func (v *Video) CatchUp()

func (*Video) Read

func (v *Video) Read(addr uint16) uint8

func (*Video) Reset

func (v *Video) Reset(model int, hasBIOS bool)

func (*Video) Screen

func (v *Video) Screen() []color.RGBA

func (*Video) Tick

func (v *Video) Tick(cycles int64)

func (*Video) Write

func (v *Video) Write(addr uint16, val uint8)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL