Hi All,I'm interested in undertaking at this point in time.
I was wondering if anyone might be able to help me with a WordMaster problem. I've been trying to get it configured for my computer and it's almost working but there's one major problem: backspace doesn't work.
My keyboard sends ascii 8 for backspace, and WM seems to move the cursor to the left one spot without actually deleting anything. (Ctrl-G does work as expected). This is driving me crazy.
I did a quick disassembly of WM to see if I could find the code to patch, but it doesn't appear to be obvious where it's checking for special keys, so it looks like I'd likely have to disassemble the whole thing which is a bit larger of a project than
So a few questions:under my control). Or even apply a patch to the bios to translate it.
1. Does anyone know why WM doesn't like ascii 8 for backspace? CP/M itself seems to recognize it fine. I have on problem with backspace anywhere except WM.
2. Does anyone know of a strategy to patch WM to recognize backspace?
3. Is there an alternate character my keyboard should be sending that would work for WM _and_ everything else? If so, I could easily patch the firmware on my keyboard to send a different character (I built the decoder for my keyboard, so the mapping is
Thanks in advance for any information or perspective!Sure, stock WM uses 0x7F (rubout) to delete left -- that may be control-backspace for you. 0x08 (backspace) just puts the cursor left one character.
-rob
1. Does anyone know why WM doesn't like ascii 8 for backspace? CP/M
itself seems to recognize it fine. I have on problem with backspace anywhere except WM.
On Friday, December 2, 2022 at 5:06:16 PM UTC-5, physi...@gmail.com wrote:than I'm interested in undertaking at this point in time.
Hi All,
I was wondering if anyone might be able to help me with a WordMaster problem. I've been trying to get it configured for my computer and it's almost working but there's one major problem: backspace doesn't work.
My keyboard sends ascii 8 for backspace, and WM seems to move the cursor to the left one spot without actually deleting anything. (Ctrl-G does work as expected). This is driving me crazy.
I did a quick disassembly of WM to see if I could find the code to patch, but it doesn't appear to be obvious where it's checking for special keys, so it looks like I'd likely have to disassemble the whole thing which is a bit larger of a project
is under my control). Or even apply a patch to the bios to translate it.So a few questions:
1. Does anyone know why WM doesn't like ascii 8 for backspace? CP/M itself seems to recognize it fine. I have on problem with backspace anywhere except WM.
2. Does anyone know of a strategy to patch WM to recognize backspace?
3. Is there an alternate character my keyboard should be sending that would work for WM _and_ everything else? If so, I could easily patch the firmware on my keyboard to send a different character (I built the decoder for my keyboard, so the mapping
right, pmate in insert mode (^N) erases left on rubout, but in overwrite mode (^O) rubout only moves right.Thanks in advance for any information or perspective!
-robSure, stock WM uses 0x7F (rubout) to delete left -- that may be control-backspace for you. 0x08 (backspace) just puts the cursor left one character.
Never bothered me, so I have never "fixed"it. FYI - WordStar 3.3 behaves exactly the same way. Now... pmate (I use pmate 3.21) has a movement diamond too: ^Y,^G,^H,^B -- so control h (backspace) actually moves the cursor to the right! ^D erases to the
rubout may be control-backspace, or del (delete) or both.line. So
As there were no real standards back then, we just generally went with the flow...
Now, backspace on the cp/m command line erases and moves the cursor left (via issuing BS SPACE BS). rubout erases the character by echoing the character: so abc(rubout)(rubout) looks like: abccb -- and THAT is why control-r (think "retype") retypes the
abc(rubout)(rubout)(control-r)teletype, control-x was control-u (also works on a VDU):
looks like
abccb#
a
This is pretty much the same in ED... but WM, WordStar and PMATE all needed a video terminal, so its a bit different. But the time CP/M 2.2 was released, VDUs were more common, so CP/M line edit support control-h and control-x (line delete). On a
abc(control-x)
... erases all the characters, stays on the same line
abc(control-u)
abc#
and waits for more input (and no, the tty33 only did upper case, so this is not "quite" period correct).
On Friday, December 2, 2022 at 3:08:32 PM UTC-8, fridtjof.ma...@gmail.com wrote:than I'm interested in undertaking at this point in time.
On Friday, December 2, 2022 at 5:06:16 PM UTC-5, physi...@gmail.com wrote:
Hi All,
I was wondering if anyone might be able to help me with a WordMaster problem. I've been trying to get it configured for my computer and it's almost working but there's one major problem: backspace doesn't work.
My keyboard sends ascii 8 for backspace, and WM seems to move the cursor to the left one spot without actually deleting anything. (Ctrl-G does work as expected). This is driving me crazy.
I did a quick disassembly of WM to see if I could find the code to patch, but it doesn't appear to be obvious where it's checking for special keys, so it looks like I'd likely have to disassemble the whole thing which is a bit larger of a project
mapping is under my control). Or even apply a patch to the bios to translate it.So a few questions:
1. Does anyone know why WM doesn't like ascii 8 for backspace? CP/M itself seems to recognize it fine. I have on problem with backspace anywhere except WM.
2. Does anyone know of a strategy to patch WM to recognize backspace?
3. Is there an alternate character my keyboard should be sending that would work for WM _and_ everything else? If so, I could easily patch the firmware on my keyboard to send a different character (I built the decoder for my keyboard, so the
the right, pmate in insert mode (^N) erases left on rubout, but in overwrite mode (^O) rubout only moves right.Thanks in advance for any information or perspective!
-robSure, stock WM uses 0x7F (rubout) to delete left -- that may be control-backspace for you. 0x08 (backspace) just puts the cursor left one character.
Never bothered me, so I have never "fixed"it. FYI - WordStar 3.3 behaves exactly the same way. Now... pmate (I use pmate 3.21) has a movement diamond too: ^Y,^G,^H,^B -- so control h (backspace) actually moves the cursor to the right! ^D erases to
the line. Sorubout may be control-backspace, or del (delete) or both.
As there were no real standards back then, we just generally went with the flow...
Now, backspace on the cp/m command line erases and moves the cursor left (via issuing BS SPACE BS). rubout erases the character by echoing the character: so abc(rubout)(rubout) looks like: abccb -- and THAT is why control-r (think "retype") retypes
teletype, control-x was control-u (also works on a VDU):abc(rubout)(rubout)(control-r)
looks like
abccb#
a
This is pretty much the same in ED... but WM, WordStar and PMATE all needed a video terminal, so its a bit different. But the time CP/M 2.2 was released, VDUs were more common, so CP/M line edit support control-h and control-x (line delete). On a
And thank you for publishing the patch!abc(control-x)Awesome! I'm kind of surprised it was this easy, but browsing through the code there are a few 'cpi 07Fh' instructions. I went through one by one modifying to 'cpi 08h' and was able to quickly identify the code necessary to change the backspace key.
... erases all the characters, stays on the same line
abc(control-u)
abc#
and waits for more input (and no, the tty33 only did upper case, so this is not "quite" period correct).
If anyone cares:
DDT WM.COM
- L11AE
11AE CPI 7F
...
...
- S11AF
11AF 7F 08
11B0 CA .
- G0
SAVE 40 WMPATCH.COM
and now wordmaster expects a backspace instead of rubout. Success.
Hi All,I'm interested in undertaking at this point in time.
I was wondering if anyone might be able to help me with a WordMaster problem. I've been trying to get it configured for my computer and it's almost working but there's one major problem: backspace doesn't work.
My keyboard sends ascii 8 for backspace, and WM seems to move the cursor to the left one spot without actually deleting anything. (Ctrl-G does work as expected). This is driving me crazy.
I did a quick disassembly of WM to see if I could find the code to patch, but it doesn't appear to be obvious where it's checking for special keys, so it looks like I'd likely have to disassemble the whole thing which is a bit larger of a project than
So a few questions:under my control). Or even apply a patch to the bios to translate it.
1. Does anyone know why WM doesn't like ascii 8 for backspace? CP/M itself seems to recognize it fine. I have on problem with backspace anywhere except WM.
2. Does anyone know of a strategy to patch WM to recognize backspace?
3. Is there an alternate character my keyboard should be sending that would work for WM _and_ everything else? If so, I could easily patch the firmware on my keyboard to send a different character (I built the decoder for my keyboard, so the mapping is
Thanks in advance for any information or perspective!Rob,
-rob
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:33:42 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,061 |
Messages: | 6,416,787 |