Tabla de contenidos
Comportamiento
function Pause ()
Pausa la ejecución de una máquina virtual.
function Pause ()
function Resume ()
function IsPaused ()
function Reset ()
function Hide ()
function Show ()
function ChangeModel (_model)
function DoAction (_action, _params)
function AddEvent (_event, _ctx, _callback)
function RemoveEvent (_event, _ctx)
function SetEmulationSpeed (_speed)
function GetEmulationSpeed ()
function GetProperty (_name)
function SetProperty (_name, _v)
function SetRenderSettings (_w, _h, _ox = 0, _oy = 0, _xf = 1, _yf = 1)
Teclado
function PressKey (_key)
function ReleaseKey (_key)
Carpetas
function SetROMSFolder (_path)
function SetSRAMFolder (_path)
function SetSaveStatesFolder (_path)
Estados
function SaveState (_path)
function LoadState (_path)
Depuración
function SetCPUDebug (_v)
function AddCPUBreakpoint (_type, _addrStart, _addrCount = 1, _data = 0)
function SetCPUBreakpointCallback (_ctx, _event)
function GetCPUReg (_reg)
function SetCPUReg (_reg, _v)
Procesador y memoria
function Poke (_addr, _v)
function Peek (_addr)
function Outp (_port, _v)
function Inp (_port)
function RAMPeek (_addr)
function RAMPoke (_addr, _v)
function GetRAMSize()
function CPUCall (_addr)
function CPUStop ()
Audio
function GetMixerOutput (_ch = 0)
function SetAudioMixerMute (_v)
function GetAudioMixerMute ()
function UpdateMixer ()
Puertos
function PlugPortDevice (_port, _name)
function UnPlugPortDevice (_port)
function SetPortDeviceProp (_port, _prop, _v)
function GetPortDeviceProp (_port, _prop)
function ReadFromPortDevice (_port)
function WriteToPortDevice (_port, _value)
Mappers
function AddMapper (_name, _slot, _sslot, _page, _path, _size, _patch)
function FindMapper (_name, _slot = -1, _sslot = -1, _page = -1)
function RemoveMapper (_mapper)
function PatchMapper (_mapper, _patch)
function GetMapperInfo (_mapper)Dispositivos
function AddDevice (_name, _ports = "", _params = "")
function FindDevice (_name)
function FindDevice (_name, _port)
function EnumDevices ()
function RemoveDevice (_dev)
function SetDeviceReg (_dev, _reg, _value)
function GetDeviceReg (_dev, _reg)
function SetDeviceProp (_dev, _prop, _value)
function GetDeviceProp (_dev, _prop)
function IsDeviceProp (_dev, _prop)
Vídeo
function NextVideoDevice ()
function PrevVideoDevice ()
function SetVideoDevice (_ix)
function GetVideoDevice ()
function GetVideoDeviceIndex ()
function SetVideoAdjust (_adjust)
function GetVideoAdjust ()
function SetVideoAlign (_align)
function GetVideoAlign ()
function SetVideoShowAllDevices (_visible)
function GetVideoShowAllDevices ()
function SetVideoFrameRate (_mode)
function GetVideoFrameRate ()
function SetVideoFilter (_mode)
function GetVideoFilter ()
function GetVideoDeviceNumber ()
function GetVideoImageTex (_ix = -1)
function GetVideoWidth (_ix = -1)
function GetVideoHeight (_ix = -1)
Programas
function NewProgram (_name, _mode)
function DeleteProgram (_program)
function FindProgram (_name)
function LoadProgram (_program, _buffer, _offset = 0)
function RunProgram (_program)
function StopProgram (_program)
function PauseProgram (_program)
function ResumeProgram (_program)
function IsProgramRunning (_program)
function GetProgramProperty (_program, _prop)
function SetProgramProperty (_program, _prop, _v)
function AddProgramEvent (_program, _event, _ctx, _func)
function RemoveProgramEvent (_program, _event, _ctx)
Cartuchos
function InsertCartridge (_slot, _file, _mapperName, _ipsFile = "")
function RemoveCartridge (_slot)
function IsCartridgeInserted (_slot)
function ApplyIPSFile (_ipsFile, _buffer)
Disquetes
function InsertDisk (_id, _file, _rdOnly = false)
function RemoveDisk (_id)
function IsDiskInserted (_id)
function SetDiskWriteProtection (_id, _rdOnly)
Cintas
function LoadTape (_file, _rdOnly = false)
function UnloadTape ()
function PlayTape ()
function StopTape ()
function IsPlayingTape ()
function IsTapeLoaded ()
function RewindTape ()
function GetTapeCounter ()
function GetTapeMaxCounter ()
function SetTapeCounter (_v)
function SetTapeVolume (_v)
function GetTapeVolume ()
function GetTapeAzimuth ()
function SetTapeAzimuth (_v)
Misceláneo
function SetLed (_led, _v)
function SetSwitcher (_id, _v)
function GetSwitcher (_id)