#include "./a.out.h"
-// TODO: Can get rid of this since I don't do a show_usage() anymore?
-#define VERSION 5
-
/* Bytes per word. */
#define BPW 4
/* Number of stack words. */
-#define STACK_LENGTH 1048576
+#define STACK_LENGTH 65536
/* Number of bytes of RAM. */
-#define RAM_LENGTH 1073741824
-
-/* Number of hardware threads. */
-#define THREAD_COUNT 8
+#define RAM_LENGTH 67108864
+#define RAM_BASE_ADDRESS 0x20000000
/* Number of syllables per word. */
#define SPW 5
bool resume_word;
};
-// TODO: Make this a single thread before committing. Multi-thread is broken with my current main loop.
struct NEDstate {
bool halted;
uint8_t ram[RAM_LENGTH];
- struct NEDthread * thread[THREAD_COUNT];
+ /* Although NED is multi-threaded, this screensaver is restricted to a single thread. */
+ struct NEDthread * thread[1];
struct NEDthread * active_thread;
struct NEDhack * hack;
};