debugger

package
v0.0.0-...-45a14b4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DEBUG_X_OFFSET = 300

Variables

This section is empty.

Functions

func NewAudioDebugger

func NewAudioDebugger(a *audio.Audio) *audioDebugger

func NewBreakpointAddPanel

func NewBreakpointAddPanel(onOk func(addressBreakPoint uint16)) *breakpointAdd

func NewBreakpointDebugger

func NewBreakpointDebugger(emulator *nes.Nes) *breakpointDebugger

func NewDraggablePanel

func NewDraggablePanel(title string, position rl.Vector2, width int, height int) *draggablePanel

func PrintRomInfo

func PrintRomInfo(cartridge *gamePak.GamePak)

Types

type GuiDebugger

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

func NewDebugger

func NewDebugger(emulator *nes.Nes, audio *audio.Audio) GuiDebugger

func (*GuiDebugger) Close

func (dbg *GuiDebugger) Close()

func (*GuiDebugger) DrawDebugger

func (dbg *GuiDebugger) DrawDebugger(emulator *nes.Nes)

func (*GuiDebugger) Tick

func (dbg *GuiDebugger) Tick()

type PPUDebugger

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

func NewPPUDebugger

func NewPPUDebugger(ppu *ppu.P2c02) *PPUDebugger

func (*PPUDebugger) Draw

func (dbg *PPUDebugger) Draw()

func (*PPUDebugger) Toggle

func (dbg *PPUDebugger) Toggle()

type Panel

type Panel interface {
	Draw()
}

Jump to

Keyboard shortcuts

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