Options
All
  • Public
  • Public/Protected
  • All
Menu

Module baseplatform

Index

Type aliases

AddrSymbolMap

AddrSymbolMap: {}

Type declaration

  • [address: number]: string

BreakpointCallback

BreakpointCallback: (s: EmuState, msg?: string) => void

Type declaration

    • Parameters

      Returns void

DebugCondition

DebugCondition: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

DebugEvalCondition

DebugEvalCondition: (c: CpuState) => boolean

Type declaration

DisasmLine

DisasmLine: { isaddr: boolean; line: string; nbytes: number }

Type declaration

  • isaddr: boolean
  • line: string
  • nbytes: number

SymbolMap

SymbolMap: {}

Type declaration

  • [ident: string]: number

Functions

cpuStateToLongString_6502

  • cpuStateToLongString_6502(c: any): string
  • Parameters

    • c: any

    Returns string

cpuStateToLongString_6809

  • cpuStateToLongString_6809(c: any): string
  • Parameters

    • c: any

    Returns string

cpuStateToLongString_Z80

  • cpuStateToLongString_Z80(c: any): string
  • Parameters

    • c: any

    Returns string

dumpStackToString

  • dumpStackToString(platform: Platform, mem: Uint8Array | number[], start: number, end: number, sp: number, jsrop: number): string
  • Parameters

    • platform: Platform
    • mem: Uint8Array | number[]
    • start: number
    • end: number
    • sp: number
    • jsrop: number

    Returns string

getOpcodeMetadata_6502

  • getOpcodeMetadata_6502(opcode: any, address: any): { insnlength: number; maxCycles: number; minCycles: number; opcode: any }
  • Parameters

    • opcode: any
    • address: any

    Returns { insnlength: number; maxCycles: number; minCycles: number; opcode: any }

    • insnlength: number
    • maxCycles: number
    • minCycles: number
    • opcode: any

getToolForFilename_6502

  • getToolForFilename_6502(fn: string): string
  • Parameters

    • fn: string

    Returns string

getToolForFilename_6809

  • getToolForFilename_6809(fn: string): string
  • Parameters

    • fn: string

    Returns string

getToolForFilename_z80

  • getToolForFilename_z80(fn: string): string
  • Parameters

    • fn: string

    Returns string

hasAudio

  • Parameters

    • arg: any

    Returns arg is SampledAudioSource

hasBIOS

  • Parameters

    • arg: any

    Returns arg is AcceptsBIOS

hasJoyInput

  • Parameters

    • arg: any

    Returns arg is AcceptsJoyInput

hasKeyInput

  • Parameters

    • arg: any

    Returns arg is AcceptsKeyInput

hasPaddleInput

  • Parameters

    • arg: any

    Returns arg is AcceptsPaddleInput

hasProbe

  • Parameters

    • arg: any

    Returns arg is Probeable

hasSerialIO

  • Parameters

    • arg: any

    Returns arg is HasSerialIO

hasVideo

  • Parameters

    • arg: any

    Returns arg is VideoSource

inspectSymbol

  • inspectSymbol(platform: Platform, sym: string): string
  • Parameters

    Returns string

isDebuggable

  • Parameters

    • arg: any

    Returns arg is Debuggable

isRaster

  • Parameters

    • arg: any

    Returns arg is RasterFrameBased

lookupSymbol

  • lookupSymbol(platform: Platform, addr: number, extra: boolean): string
  • Parameters

    • platform: Platform
    • addr: number
    • extra: boolean

    Returns string

Generated using TypeDoc