summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/instruction.txt26
-rw-r--r--src/czx81.c12
2 files changed, 32 insertions, 6 deletions
diff --git a/doc/instruction.txt b/doc/instruction.txt
index be4d9a5..a399cd7 100644
--- a/doc/instruction.txt
+++ b/doc/instruction.txt
@@ -45,4 +45,30 @@ KEYBOARD
DELETE - Emulate the RUBOUT key (shift 0)
+LOADING AND SAVING
+------------------
+
+ czx81 will try and load the filename you give it in a LOAD command. It
+ looks in a configured directory (the current directory if none is
+ configured). The file must be a ZX81 snapshot .P file. The directory
+ that it loads from can be configured. See the CONFIGURATION FILE section.
+
+ If you SAVE a file it will save it in the current directory, or the
+ configured one if one is configured. Note that the ability to save must
+ be enabled. See the CONFIGURATION FILE section.
+
+
+CONFIGURATION FILE
+------------------
+
+ On startup czx81 will read configuration from the file $HOME/.czx81rc
+
+ The following directive can be used:
+
+ snappath <directory> - Specifies the location of .P files for loading
+ and saving, if enabled.
+
+ allowsave - Allow the saving of files.
+
+
vim: expandtab spell
diff --git a/src/czx81.c b/src/czx81.c
index 14bc25b..27bfe5b 100644
--- a/src/czx81.c
+++ b/src/czx81.c
@@ -193,9 +193,9 @@ static struct
{'X', 2, {0, 0}, {0x01, 0x04}},
{'C', 2, {0, 0}, {0x01, 0x08}},
{'V', 2, {0, 0}, {0x01, 0x10}},
- {'B', 2, {0, 6}, {0x01, 0x10}},
- {'N', 2, {0, 6}, {0x01, 0x08}},
- {'M', 2, {0, 6}, {0x01, 0x04}},
+ {'B', 2, {0, 7}, {0x01, 0x10}},
+ {'N', 2, {0, 7}, {0x01, 0x08}},
+ {'M', 2, {0, 7}, {0x01, 0x04}},
/* Shifted alpha shortcuts
*/
@@ -212,9 +212,9 @@ static struct
{';', 2, {0, 0}, {0x01, 0x04}},
{'?', 2, {0, 0}, {0x01, 0x08}},
{'/', 2, {0, 0}, {0x01, 0x10}},
- {'*', 2, {0, 6}, {0x01, 0x10}},
- {'<', 2, {0, 6}, {0x01, 0x08}},
- {'>', 2, {0, 6}, {0x01, 0x04}},
+ {'*', 2, {0, 7}, {0x01, 0x10}},
+ {'<', 2, {0, 7}, {0x01, 0x08}},
+ {'>', 2, {0, 7}, {0x01, 0x04}},
{',', 2, {0, 7}, {0x01, 0x02}},
/* Cursor keys