#include "../common/types.h"
Go to the source code of this file.
Classes | |
struct | AsebaVMState |
Defines | |
#define | AsebaMaskClear(v, m) ((v) &= (~(m))) |
Set the part masked by m of v to 0. | |
#define | AsebaMaskIsClear(v, m) (((v) & (m)) == 0) |
Returns true if the part masked by m of v is 0. | |
#define | AsebaMaskIsSet(v, m) (((v) & (m)) != 0) |
Returns true if the part masked by m of v is 1. | |
#define | AsebaMaskSet(v, m) ((v) |= (m)) |
Set the part masked by m of v to 1. | |
#define | AsebaSendMessageWords(vm, type, data, size) AsebaSendMessage(vm,type,data,(size)*2) |
Enumerations | |
enum | { ASEBA_MAX_BREAKPOINTS = 16 } |
Functions | |
void | __attribute__ ((weak)) AsebaVMRunCB(AsebaVMState *vm) |
void | AsebaNativeFunction (AsebaVMState *vm, uint16 id) |
void | AsebaPutVmToSleep (AsebaVMState *vm) |
void | AsebaResetIntoBootloader (AsebaVMState *vm) |
void | AsebaSendDescription (AsebaVMState *vm) |
void | AsebaSendMessage (AsebaVMState *vm, uint16 id, const void *data, uint16 size) |
void | AsebaSendVariables (AsebaVMState *vm, uint16 start, uint16 length) |
void | AsebaVMDebugMessage (AsebaVMState *vm, uint16 id, uint16 *data, uint16 dataLength) |
void | AsebaVMEmitNodeSpecificError (AsebaVMState *vm, const char *message) |
uint16 | AsebaVMGetEventAddress (AsebaVMState *vm, uint16 event) |
void | AsebaVMInit (AsebaVMState *vm) |
uint16 | AsebaVMRun (AsebaVMState *vm, uint16 stepsLimit) |
uint16 | AsebaVMSetupEvent (AsebaVMState *vm, uint16 event) |
uint16 | AsebaVMShouldDropPacket (AsebaVMState *vm, uint16 source, const uint8 *data) |
void | AsebaWriteBytecode (AsebaVMState *vm) |
Variables | |
void const char * | message |