spec

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClksScanline    = 454
	ClksHBLANK      = 134
	ClksVisible     = 320
	ClksColourBurst = 16
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Spec

type Spec struct {
	ID        string
	Palette   [256]color.RGBA
	HorizScan float64

	// dma top/bottom defines when dma is working and processing DLLs. it is equivalent to the
	// duration when VBLANK is disabled
	DMATop    int
	DMABottom int

	// safe top/bottom defines the safe area of a typical CRT television
	SafeTop    int
	SafeBottom int

	// overscan top defines an extended area in between the size of "safe" and "visble"
	OverscanTop int

	AbsoluteBottom int
}
var NTSC Spec
var PAL Spec

Jump to

Keyboard shortcuts

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