Start of adding code word support.

This commit is contained in:
Brad Nelson
2022-09-04 16:58:11 -07:00
parent 17a8dbbf59
commit 8bed92bef9
9 changed files with 84 additions and 1 deletions

View File

@ -56,6 +56,7 @@ static cell_t ResizeFile(cell_t fd, cell_t size);
OPTIONAL_RMT_SUPPORT \
OPTIONAL_OLED_SUPPORT \
OPTIONAL_SPI_FLASH_SUPPORT \
CALLING_OPCODE_LIST \
FLOATING_POINT_LIST
#define REQUIRED_MEMORY_SUPPORT \

View File

@ -19,6 +19,7 @@
#define SIM_PRINT_ONLY
#define ENABLE_OLED_SUPPORT
#include "esp32/options.h"
#define CALLING_OPCODE_LIST
#define FLOATING_POINT_LIST
#define USER_WORDS
#include "builtins.h"

View File

@ -17,6 +17,7 @@
#include "common/tier1_opcodes.h"
#include "common/tier2_opcodes.h"
#include "common/floats.h"
#include "common/calls.h"
#include "common/calling.h"
#define SIM_HEAP_SIZE (100 * 1024 + 1024 * 1024)
@ -25,6 +26,7 @@ static cell_t *simulated(cell_t *sp, const char *op);
#define PLATFORM_OPCODE_LIST \
PLATFORM_SIMULATED_OPCODE_LIST \
CALLING_OPCODE_LIST \
FLOATING_POINT_LIST
#include "gen/esp32_sim_opcodes.h"