Files
Yanis 6dd6da43b8 Update emulator's headers (#16)
* add emulator headers

* review

* order fix

* revert macros.inc

* review 2
2024-08-29 12:15:17 -07:00

32 lines
487 B
C

#ifndef DEBUGGER_H
#define DEBUGGER_H
#ifdef __cplusplus
extern "C" {
#endif
#include "revolution/types.h"
// EXI error codes
typedef enum {
AMC_EXI_NO_ERROR = 0,
AMC_EXI_UNSELECTED = 1
} AmcExiError;
void EXI2_Init(void);
void EXI2_EnableInterrupts(void);
bool EXI2_Poll(void);
AmcExiError EXI2_ReadN(void);
AmcExiError EXI2_WriteN(void);
void EXI2_Reserve(void);
void EXI2_Unreserve(void);
bool AMC_IsStub(void);
bool Hu_IsStub(void);
#ifdef __cplusplus
}
#endif
#endif