Documentation ¶
Index ¶
- type Interrupts
- func (i *Interrupts) Disable()
- func (i *Interrupts) Enable()
- func (i *Interrupts) Enabled() bool
- func (i *Interrupts) JoypadPending() bool
- func (i *Interrupts) Pending() bool
- func (i *Interrupts) ReadIE() uint8
- func (i *Interrupts) ReadIF() uint8
- func (i *Interrupts) RequestJoypad()
- func (i *Interrupts) RequestSerial()
- func (i *Interrupts) RequestStat()
- func (i *Interrupts) RequestTimer()
- func (i *Interrupts) RequestVblank()
- func (i *Interrupts) ResetJoypad()
- func (i *Interrupts) ResetSerial()
- func (i *Interrupts) ResetStat()
- func (i *Interrupts) ResetTimer()
- func (i *Interrupts) ResetVblank()
- func (i *Interrupts) SerialPending() bool
- func (i *Interrupts) StatPending() bool
- func (i *Interrupts) TimerPending() bool
- func (i *Interrupts) VblankPending() bool
- func (i *Interrupts) WriteIE(value uint8)
- func (i *Interrupts) WriteIF(value uint8)
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 (*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
Click to show internal directories.
Click to hide internal directories.