interrupts

package
v0.0.0-...-e0ac686 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interrupts

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

Interrupts captures the current state of interrupts

func New

func New() *Interrupts

New Interrupts

func (*Interrupts) Disable

func (i *Interrupts) Disable()

func (*Interrupts) Enable

func (i *Interrupts) Enable()

func (*Interrupts) Enabled

func (i *Interrupts) Enabled() bool

func (*Interrupts) JoypadPending

func (i *Interrupts) JoypadPending() bool

func (*Interrupts) Pending

func (i *Interrupts) Pending() bool

func (*Interrupts) ReadIE

func (i *Interrupts) ReadIE() uint8

ReadIE handles reads from register IE

func (*Interrupts) ReadIF

func (i *Interrupts) ReadIF() uint8

ReadIF handles reads from register IF

func (*Interrupts) RequestJoypad

func (i *Interrupts) RequestJoypad()

func (*Interrupts) RequestSerial

func (i *Interrupts) RequestSerial()

func (*Interrupts) RequestStat

func (i *Interrupts) RequestStat()

func (*Interrupts) RequestTimer

func (i *Interrupts) RequestTimer()

func (*Interrupts) RequestVblank

func (i *Interrupts) RequestVblank()

func (*Interrupts) ResetJoypad

func (i *Interrupts) ResetJoypad()

func (*Interrupts) ResetSerial

func (i *Interrupts) ResetSerial()

func (*Interrupts) ResetStat

func (i *Interrupts) ResetStat()

func (*Interrupts) ResetTimer

func (i *Interrupts) ResetTimer()

func (*Interrupts) ResetVblank

func (i *Interrupts) ResetVblank()

func (*Interrupts) SerialPending

func (i *Interrupts) SerialPending() bool

func (*Interrupts) StatPending

func (i *Interrupts) StatPending() bool

func (*Interrupts) TimerPending

func (i *Interrupts) TimerPending() bool

func (*Interrupts) VblankPending

func (i *Interrupts) VblankPending() bool

func (*Interrupts) WriteIE

func (i *Interrupts) WriteIE(value uint8)

WriteIE handles writes to register IE

func (*Interrupts) WriteIF

func (i *Interrupts) WriteIF(value uint8)

WriteIF handles writes to register IF

Jump to

Keyboard shortcuts

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