emulator

package
v0.0.0-...-cf9f851 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFrequency = 5000
	DefaultFormat    = sdl.AUDIO_S16
	DefaultChannels  = 2
	DefaultSamples   = 512
)

Variables

This section is empty.

Functions

func NewChip8

func NewChip8() (chip8, func())

func NewSpeaker

func NewSpeaker() (speaker, func())

func Run

func Run(romPath string, scaleFactor int)

func SineWave

func SineWave(userdata unsafe.Pointer, stream *C.Uint8, length C.int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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