Add exceptions, start file menu

This commit is contained in:
SuchMemeManySkill
2020-12-25 21:16:24 +01:00
parent 1a931b0256
commit 9588ffb89a
13 changed files with 215 additions and 46 deletions

View File

@@ -8,7 +8,11 @@ typedef struct {
} ErrCode_t;
enum {
TE_ERR_UNIMPLEMENTED = 21,
TE_ERR_UNIMPLEMENTED = 15,
TE_EXCEPTION_RESET,
TE_EXCEPTION_UNDEFINED,
TE_EXCEPTION_PREF_ABORT,
TE_EXCEPTION_DATA_ABORT
};
#define newErrCode(err) (ErrCode_t) {err, __LINE__, __FILE__}