summaryrefslogtreecommitdiff
path: root/source
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 /source
parentcefb6882dc4f67c85dc3a54e6e7ba8ad5898463d (diff)
Added config for RAM at 0x2000. Also interface in ZX81 to notice config changes.
Diffstat (limited to 'source')
-rw-r--r--source/config.c7
-rw-r--r--source/main.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/source/config.c b/source/config.c
index b2abec8..433b5d6 100644
--- a/source/config.c
+++ b/source/config.c
@@ -33,7 +33,8 @@ const char *conf_filename = "DS81.CFG";
const char *conf_entry[DS81_NUM_CONFIG_ITEMS]=
{
"sticky_shift",
- "average_touchscreen"
+ "average_touchscreen",
+ "static_ram_at_0x2000",
};
@@ -42,6 +43,7 @@ const char *conf_entry[DS81_NUM_CONFIG_ITEMS]=
int DS81_Config[DS81_NUM_CONFIG_ITEMS]=
{
TRUE,
+ FALSE,
FALSE
};
@@ -123,6 +125,9 @@ const char *ConfigDesc(DS81_ConfigItem item)
case DS81_AVERAGE_TOUCHSCREEN:
return "AVERAGE TOUCHSCREEN";
+ case DS81_STATIC_RAM_AT_0x2000:
+ return "RAM AT 8192";
+
default:
return "UNKNOWN";
}
diff --git a/source/main.c b/source/main.c
index f2b0e70..cfdf231 100644
--- a/source/main.c
+++ b/source/main.c
@@ -301,6 +301,7 @@ int main(int argc, char *argv[])
Splash();
LoadConfig();
+ ZX81Reconfigure();
SK_DisplayKeyboard(BG_GFX_SUB);
@@ -334,6 +335,7 @@ int main(int argc, char *argv[])
GUI_Config();
SK_SetSticky(SK_SHIFT,
DS81_Config[DS81_STICKY_SHIFT]);
+ ZX81Reconfigure();
break;
case MenuMapJoypad: