|
void | Error (void) |
| opOUTPUT_READY byte code More...
|
|
void | Nop (void) |
| opNOP byte code More...
|
|
void | ObjectStop (void) |
| opOBJECT_STOP byte code More...
|
|
void | ObjectStart (void) |
| opOBJECT_START byte code More...
|
|
void | ObjectTrig (void) |
| opOBJECT_TRIG byte code More...
|
|
void | ObjectWait (void) |
| opOBJECT_WAIT byte code More...
|
|
void | ObjectCall (void) |
| opCALL byte code More...
|
|
void | ObjectReturn (void) |
| opRETURN byte code More...
|
|
void | ObjectEnd (void) |
| opOBJECT_END byte code More...
|
|
void | ProgramStart (void) |
| opPROGRAM_START byte code More...
|
|
void | ProgramStop (void) |
| opPROGRAM_STOP byte code More...
|
|
void | Sleep (void) |
| opSLEEP byte code More...
|
|
void | ProgramInfo (void) |
| opPROGRAM_INFO byte code More...
|
|
void | DefLabel (void) |
| opLABEL byte code More...
|
|
void | Do (void) |
| opDO byte code More...
|
|
void | Probe (void) |
| opPROBE byte code More...
|
|
void | BreakPoint (void) |
| opBP0 - opBP3 byte code More...
|
|
void | BreakSet (void) |
| opBP_SET byte code More...
|
|
void | Random (void) |
| opRANDOM byte code More...
|
|
void | Info (void) |
| opINFO byte code More...
|
|
void | Strings (void) |
| opSTRINGS byte code More...
|
|
void | MemoryWrite (void) |
| opMEMORY_WRITE byte code More...
|
|
void | MemoryRead (void) |
| opMEMORY_READ byte code More...
|
|
void | cBranchJr (void) |
| opJR byte code More...
|
|
void | PortCnvOutput (void) |
|
void | PortCnvInput (void) |
|
void | NoteToFreq (void) |
|
void | System (void) |
|
void | Monitor (void) |
|
void | TstClose (void) |
|
void | Tst (void) |
| opTST byte code More...
|
|
OBJID | CallingObjectId (void) |
| Get calling object id. More...
|
|
PRGID | CurrentProgramId (void) |
| Get current program id. More...
|
|
OBJSTAT | ProgramStatus (PRGID PrgId) |
| Get program status. More...
|
|
OBJSTAT | ProgramStatusChange (PRGID PrgId) |
| Get program status change. More...
|
|
IP | GetImageStart (void) |
| Get pointer to actual start of byte code image. More...
|
|
void | SetDispatchStatus (DSPSTAT DspStat) |
| Set object (dispatch) status. More...
|
|
void | SetInstructions (ULONG Instructions) |
| Set instructions. More...
|
|
void | AdjustObjectIp (IMOFFS Value) |
| Adjust current instruction pointer. More...
|
|
IP | GetObjectIp (void) |
| Get current instruction pointer. More...
|
|
void | SetObjectIp (IP Ip) |
| Set current instruction pointer. More...
|
|
ULONG | GetTime (void) |
|
ULONG | GetTimeMS (void) |
|
ULONG | GetTimeUS (void) |
|
ULONG | CurrentObjectIp (void) |
|
void | VmPrint (char *pString) |
|
void | SetTerminalEnable (DATA8 Value) |
|
DATA8 | GetTerminalEnable (void) |
|
void | GetResourcePath (char *pString, DATA8 MaxLength) |
|
void * | VmMemoryResize (HANDLER Handle, DATA32 Elements) |
|
void | SetVolumePercent (DATA8 Volume) |
|
DATA8 | GetVolumePercent (void) |
|
void | SetSleepMinutes (DATA8 Minutes) |
|
DATA8 | GetSleepMinutes (void) |
|
void | SetUiUpdate (void) |
|
void | LogErrorNumber (ERR Err) |
|
DATA8 | LogErrorNumberExists (ERR Error) |
|
ERR | LogErrorGet (void) |
|
void | CleanLogErrors (void) |
|
DSPSTAT | ExecuteByteCode (IP pByteCode, GP pGlobals, LP pLocals) |
| Execute byte code stream (C-call) More...
|
|
void * | PrimParPointer (void) |
| Get next encoded parameter from byte code stream. More...
|
|
void | PrimParAdvance (void) |
| Skip next encoded parameter from byte code stream. More...
|
|
void | CopyParsToLocals (OBJID Id) |
| Copy encoded parameters to local variables. More...
|
|
void | CopyLocalsToPars (OBJID Id) |
| Copy local variables to encoded parameters. More...
|
|
void | ObjectReset (OBJID ObjId) |
| Initialise object instruction pointer and trigger counter. More...
|
|
GBINDEX | GetAmountOfRamForImage (IP pI) |
| Get amount of ram to allocate for program. More...
|
|
RESULT | ProgramReset (PRGID PrgId, IP pI, GP pG, UBYTE Deb) |
| Initialise program for execution. More...
|
|
void | ProgramEnd (PRGID PrgId) |
| Exit program nicely (freeing up memory) More...
|
|
void | ProgramInit (void) |
| Switch in current program ProgramId holds program to switch to. More...
|
|
void | ProgramExit (void) |
| Switch out current program ProgramId holds program to switch from. More...
|
|
RESULT | ProgramExec (void) |
| Find a program to run ProgramId holds found program. More...
|
|
DSPSTAT | ObjectInit (void) |
| Restore object context. More...
|
|
void | ObjectExit (void) |
| Save object context. More...
|
|
RESULT | ObjectExec (void) |
| Find next object to run. More...
|
|
void | ObjectEnQueue (OBJID Id) |
| Put object on run queue. More...
|
|
void | ObjectDeQueue (OBJID Id) |
| Remove object from run queue. More...
|
|
DATA8 | CheckSdcard (DATA8 *pChanged, DATA32 *pTotal, DATA32 *pFree, DATA8 Force) |
|
DATA8 | CheckUsbstick (DATA8 *pChanged, DATA32 *pTotal, DATA32 *pFree, DATA8 Force) |
|
RESULT | mSchedInit (int argc, char *argv[]) |
|
RESULT | mSchedCtrl (UBYTE *pRestart) |
|
RESULT | mSchedExit (void) |
|
int | main (int argc, char *argv[]) |
|
RESULT | TstOpen (UWORD Time) |
|
RESULT | ValidateChar (DATA8 *pChar, DATA8 Set) |
|
RESULT | ValidateString (DATA8 *pString, DATA8 Set) |
|
DSPSTAT ExecuteByteCode |
( |
IP |
pByteCode, |
|
|
GP |
pGlobals, |
|
|
LP |
pLocals |
|
) |
| |
Execute byte code stream (C-call)
This call is able to execute up to "C_PRIORITY" byte codes instructions (no header necessary)
- Parameters
-
(IP) | Pointer to byte code stream (last byte code must be "opOBJECT_END") |
(GP) | Pointer to global variables to use (if none -> NULL) |
(LP) | Pointer to Local variables to use (if none -> NULL) |
- Returns
- (DSPSTAT) Dispatch status
Example:
IMGDATA BC1[] = { opUI_WRITE,PUT_STRING,LCS,'L','E','G','O','','
',0,opUI_WRITE,WRITE_FLUSH,opOBJECT_END }; ExecuteByteCode(BC1,NULL,NULL);
Definition at line 535 of file lms2012.c.