summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-02-21 01:14:21 +0000
committerIan C <ianc@noddybox.co.uk>2007-02-21 01:14:21 +0000
commit98f0ecf59ea5df33f2c73fc311324f32f704c676 (patch)
tree2ba6df1bf02031f7ba3f844224b29f5216a49090 /include
parentcefb6882dc4f67c85dc3a54e6e7ba8ad5898463d (diff)
Added config for RAM at 0x2000. Also interface in ZX81 to notice config changes.
Diffstat (limited to 'include')
-rw-r--r--include/config.h1
-rw-r--r--include/zx81.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 82c0c4f..e2d96de 100644
--- a/include/config.h
+++ b/include/config.h
@@ -26,6 +26,7 @@ typedef enum
{
DS81_STICKY_SHIFT,
DS81_AVERAGE_TOUCHSCREEN,
+ DS81_STATIC_RAM_AT_0x2000,
DS81_NUM_CONFIG_ITEMS
} DS81_ConfigItem;
diff --git a/include/zx81.h b/include/zx81.h
index 4050918..c50c1a4 100644
--- a/include/zx81.h
+++ b/include/zx81.h
@@ -51,6 +51,10 @@ void ZX81SetTape(const Z80Byte *image, int len);
*/
void ZX81Reset(Z80 *z80);
+/* Tell the 81 that config may have changed.
+*/
+void ZX81Reconfigure(void);
+
/* Displays a string on the ZX81's dislpay. The screen is cleared and the
string displayed with \n characters breaking the line.