Discussion:
If you needed a Z-machine interpreter for 2.11BSD...
(too old to reply)
Adam Thornton
2020-01-04 05:22:26 UTC
Permalink
I've got you covered.

https://github.com/athornton/pdp11-zterp/

If you aren't running a PDP-11 with 2.11BSD on it, you may be disappointed.

Adam
n***@zzo38computer.org.invalid
2020-01-04 22:24:51 UTC
Permalink
Post by Adam Thornton
https://github.com/athornton/pdp11-zterp/
I don't have a PDP-11 computer, but nevertheless here is a patch (which
is, of course, untested):

To implement permanent shifts, replace line 231-232 of text.c with:

shift_lock=shift_state;
shift_state=code-3;
if(shift_lock && shift_lock!=shift_state) shift_lock=shift_state=0;

(This is based on the version as of commit 2be7a18)
--
Note: I am not always able to read/post messages during Monday-Friday.
Adam Thornton
2020-01-07 04:27:32 UTC
Permalink
Post by n***@zzo38computer.org.invalid
Post by Adam Thornton
https://github.com/athornton/pdp11-zterp/
I don't have a PDP-11 computer, but nevertheless here is a patch (which
shift_lock=shift_state;
shift_state=code-3;
if(shift_lock && shift_lock!=shift_state) shift_lock=shift_state=0;
(This is based on the version as of commit 2be7a18)
Thanks. I'll try it at some point.

Adam

Continue reading on narkive:
Loading...