summaryrefslogtreecommitdiff
path: root/src/lambdakey-v1.0/ao_scheme_os.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-12 15:27:26 -0800
committerKeith Packard <keithp@keithp.com>2017-12-12 15:27:26 -0800
commit09ea349f5b37e257e8ca23ead493ba1694395530 (patch)
treeeca7e5f06fa5091ce6cf8cc7a3c06066aa8cc9eb /src/lambdakey-v1.0/ao_scheme_os.h
parentd8c9024f3829dc3f241b16869f165f3ee01764f3 (diff)
altos/lambdakey-v1.0: Get this building again
The lambdakey can't hold a full implementation of the scheme interpreter, so use only a subset, removing floats, bigints and vectors. Also reduce the pre-loaded lisp code as well. It's pretty spare at this point; but it does fill the ROM. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lambdakey-v1.0/ao_scheme_os.h')
-rw-r--r--src/lambdakey-v1.0/ao_scheme_os.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lambdakey-v1.0/ao_scheme_os.h b/src/lambdakey-v1.0/ao_scheme_os.h
index a620684f..0d48af3b 100644
--- a/src/lambdakey-v1.0/ao_scheme_os.h
+++ b/src/lambdakey-v1.0/ao_scheme_os.h
@@ -20,9 +20,13 @@
#include "ao.h"
-#define AO_SCHEME_SAVE 1
+#undef AO_SCHEME_FEATURE_FLOAT
+#undef AO_SCHEME_FEATURE_VECTOR
+#undef AO_SCHEME_FEATURE_QUASI
+#undef AO_SCHEME_FEATURE_BIGINT
-#define AO_SCHEME_POOL_TOTAL 2048
+#define AO_SCHEME_POOL 4096
+#define AO_SCHEME_TOKEN_MAX 64
#ifndef __BYTE_ORDER
#define __LITTLE_ENDIAN 1234