Refactor fault handling.

This commit is contained in:
Brad Nelson
2023-01-14 22:28:38 -08:00
parent f8cfaedc84
commit 2f79192ea0
9 changed files with 110 additions and 79 deletions

View File

@ -42,6 +42,9 @@ PLATFORM_SIMULATED_OPCODE_LIST
// Fault handling can't work in the simulator for now.
#undef ENABLE_ESP32_FORTH_FAULT_HANDLING
#define forth_faults_setup()
#define FAULT_ENTRY
#include "common/bits.h"
#include "common/core.h"
#include "common/interp.h"