Hello,

My notes on patching ws 3.3 from the cpmarchive.  I think I have the addresses 
correct on the far left, but I don't have any way to print from the m100 so I 
had to copy from the screen.

Patching the wordstar 3.3 found on the cpm archive, and installed initally
for a vt100 terminal.

There is an area in called the keyboard dispatch table.  It interprets the 
keystrokes
and then gives an address.  The format is the same, two bytes for the keystroke
(the second one can be 00), and two bytes for the address.  The addresses in 
3.3 are slightly
different from those in 3.0 but the order of the entries appeared to be the 
same.

There is a blank area for additional entries.

The m100 cursor keys are 1C, 1D, 1E, and 1F for right, left, up, and down.
These can be patched in to the user3 area staring at 0655 (should be empty) as 
follows

0655 1C 00 d0 63
0659 1D 00 0a 63
065D 1E 00 b4 64
0661 1F 00 9a 64

Two bytes for the command, two bytes for the address where the action takes
place, which is found by looking at the earlier part of user 3.

1F was also mapped to back and delete, so this also had to be changed at 0547
to 9a 64

0545 1F 00 9A 64

Probably could have skipped the entry at 0661 but I wanted to keep everything 
together.

What do we want the bksp  key to do? In the original vt100 config, it moves the 
cursor back just
like the arrow key.  Shift del/bksp key on the m100 (i.e. the delete key, 7F)
deletes the char before the cursor. I prefer to have backspace delete the 
previous character (i.e.
what del did before) and the del key to delete the character under the cursor.

Had to patch the action of hex 08 the backspace character so the action
related to the hex 08, at 04a3 in the file is 4368.

04A1 08 00 43 68

The del key, 7F is mapped to do the same as control-G, at 0541 (right before
1F mentioned above)

0541 7F 00 64 68

Now hitting the key by itself erases the previous character, and if it is
shifted it will delete like ctrl-G.

Jonathan

[email protected]
---
När du skickar e-post till SLU så innebär detta att SLU behandlar dina 
personuppgifter. För att läsa mer om hur detta går till, klicka här 
<https://www.slu.se/om-slu/kontakta-slu/personuppgifter/>
E-mailing SLU will result in SLU processing your personal data. For more 
information on how this is done, click here 
<https://www.slu.se/en/about-slu/contact-slu/personal-data/>

Reply via email to