Search
Preparing search index...
The search index is not available
8bitworkshop
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
8bitworkshop
mameplatform
BaseMAME6502Platform
Class BaseMAME6502Platform
Hierarchy
BaseMAMEPlatform
BaseMAME6502Platform
Index
Constructors
constructor
Properties
initluavars
js_
lua_
string
loaded
luadebugscript
main
Element
on
Breakpoint
Hit
preinitted
romdata
romfn
romtype
running
started
timer
video
Methods
_pause
_resume
buffer
Console
Output
clear
Debug
cpu
State
ToLong
String
debugcmd
disassemble
getCPUReg
getCPUState
get
Debug
Callback
get
Debug
Categories
get
Debug
Info
get
Debug
Tree
getPC
getSP
grab
State
initlua
is
Running
is
Stable
loadROMFile
load
Region
load
State
luacall
pause
poll
read
Address
reset
resume
run
Eval
run
ToPC
run
ToVsync
run
Until
Return
save
State
setup
Debug
start
Module
step
Constructors
constructor
new
BaseMAME6502
Platform
(
mainElement
:
any
)
:
BaseMAME6502Platform
Parameters
mainElement:
any
Returns
BaseMAME6502Platform
Properties
initluavars
initluavars
:
boolean
= false
js_
lua_
string
js_
lua_
string
:
any
loaded
loaded
:
boolean
= false
luadebugscript
luadebugscript
:
string
main
Element
main
Element
:
HTMLElement
on
Breakpoint
Hit
on
Breakpoint
Hit
:
any
preinitted
preinitted
:
boolean
= false
romdata
romdata
:
Uint8Array
romfn
romfn
:
string
romtype
romtype
:
string
= 'cart'
running
running
:
boolean
= false
started
started
:
boolean
= false
timer
timer
:
AnimationTimer
video
video
:
any
Methods
_pause
_pause
(
)
:
void
Returns
void
_resume
_resume
(
)
:
void
Returns
void
buffer
Console
Output
buffer
Console
Output
(
s
:
any
)
:
void
Parameters
s:
any
Returns
void
clear
Debug
clear
Debug
(
)
:
void
Returns
void
cpu
State
ToLong
String
cpu
State
ToLong
String
(
c
:
any
)
:
string
Parameters
c:
any
Returns
string
debugcmd
debugcmd
(
s
:
any
)
:
void
Parameters
s:
any
Returns
void
disassemble
disassemble
(
pc
:
number
, read
:
(
addr
:
number
)
=>
number
)
:
DisasmLine
Parameters
pc:
number
read:
(
addr
:
number
)
=>
number
(
addr
:
number
)
:
number
Parameters
addr:
number
Returns
number
Returns
DisasmLine
getCPUReg
getCPUReg
(
reg
:
string
)
:
number
Parameters
reg:
string
Returns
number
getCPUState
getCPUState
(
)
:
{
A
:
number
;
PC
:
number
;
SP
:
number
;
X
:
number
;
Y
:
number
;
flags
:
number
}
Returns
{
A
:
number
;
PC
:
number
;
SP
:
number
;
X
:
number
;
Y
:
number
;
flags
:
number
}
A
:
number
PC
:
number
SP
:
number
X
:
number
Y
:
number
flags
:
number
get
Debug
Callback
get
Debug
Callback
(
)
:
any
Returns
any
get
Debug
Categories
get
Debug
Categories
(
)
:
string
[]
Returns
string
[]
get
Debug
Info
get
Debug
Info
(
category
:
string
, state
:
EmuState
)
:
string
Parameters
category:
string
state:
EmuState
Returns
string
get
Debug
Tree
get
Debug
Tree
(
)
:
{
devices
:
any
;
images
:
any
;
regions
:
any
}
Returns
{
devices
:
any
;
images
:
any
;
regions
:
any
}
devices
:
any
images
:
any
regions
:
any
getPC
getPC
(
)
:
number
Returns
number
getSP
getSP
(
)
:
number
Returns
number
grab
State
grab
State
(
expr
:
string
)
:
{
buf
:
string
;
c
:
any
}
Parameters
expr:
string
Returns
{
buf
:
string
;
c
:
any
}
buf
:
string
c
:
any
initlua
initlua
(
)
:
void
Returns
void
is
Running
is
Running
(
)
:
boolean
Returns
boolean
is
Stable
is
Stable
(
)
:
boolean
Returns
boolean
loadROMFile
loadROMFile
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
load
Region
load
Region
(
region
:
any
, data
:
any
)
:
void
Parameters
region:
any
data:
any
Returns
void
load
State
load
State
(
state
:
any
)
:
string
Parameters
state:
any
Returns
string
luacall
luacall
(
s
:
string
)
:
string
Parameters
s:
string
Returns
string
pause
pause
(
)
:
void
Returns
void
poll
poll
(
)
:
void
Returns
void
read
Address
read
Address
(
a
:
number
)
:
number
Parameters
a:
number
Returns
number
reset
reset
(
)
:
void
Returns
void
resume
resume
(
)
:
void
Returns
void
run
Eval
run
Eval
(
)
:
void
Returns
void
run
ToPC
run
ToPC
(
pc
:
any
)
:
void
Parameters
pc:
any
Returns
void
run
ToVsync
run
ToVsync
(
)
:
void
Returns
void
run
Until
Return
run
Until
Return
(
)
:
void
Returns
void
save
State
save
State
(
)
:
{
buf
:
string
;
c
:
any
}
Returns
{
buf
:
string
;
c
:
any
}
buf
:
string
c
:
any
setup
Debug
setup
Debug
(
callback
:
any
)
:
void
Parameters
callback:
any
Returns
void
start
Module
start
Module
(
mainElement
:
any
, opts
:
any
)
:
void
Parameters
mainElement:
any
opts:
any
Returns
void
step
step
(
)
:
void
Returns
void
Modules
mameplatform
BaseMAME6502
Platform
constructor
initluavars
js_
lua_
string
loaded
luadebugscript
main
Element
on
Breakpoint
Hit
preinitted
romdata
romfn
romtype
running
started
timer
video
_pause
_resume
buffer
Console
Output
clear
Debug
cpu
State
ToLong
String
debugcmd
disassemble
getCPUReg
getCPUState
get
Debug
Callback
get
Debug
Categories
get
Debug
Info
get
Debug
Tree
getPC
getSP
grab
State
initlua
is
Running
is
Stable
loadROMFile
load
Region
load
State
luacall
pause
poll
read
Address
reset
resume
run
Eval
run
ToPC
run
ToVsync
run
Until
Return
save
State
setup
Debug
start
Module
step
BaseMAMEPlatform
BaseMAMEZ80
Platform
Generated using
TypeDoc