diff options
author | Ian C <ianc@noddybox.co.uk> | 2020-03-21 22:42:20 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2020-03-21 22:42:20 +0000 |
commit | b324606fad1d596bf4f6319239f9c567a409941e (patch) | |
tree | 30bbf085034f47c189725c56371c72a83a8b69c8 | |
parent | 7cd8ce63a8a2985e0edd8cfec45d675fe6ff9335 (diff) |
Updates to instructions and fix to keyboard table.
-rw-r--r-- | doc/instruction.txt | 26 | ||||
-rw-r--r-- | src/czx81.c | 12 |
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 |