FORTH for RSX/RT-11

43 views
Skip to first unread message

Eric N

unread,
Sep 7, 2026, 11:49:39 AM (12 days ago) Sep 7
to [PiDP-11]
FIG-Forth was released in 1979 for RSX-11 and RT-11 systems.  You can download the original releases here, but I found two issues when I compiled this on my PiDP RSX-11 system, so the attached .zip archive contains my patches to get FIG-Forth up and running on your RSX-11 and RT-11 systems.

Fixed Issues:
1. FIG-FORTH's dictionary intentionally sets the high bit on each word's last name-character as an "end of name" marker, assuming a 7-bit-only terminal simply won't display that bit.  The problem is modern terminal emulators will treat that last byte as an invalid character and render it as a "?".  You see this "?" only in odd-numbered words, not even. It's really annoying if you're trying to decipher a 1-word character.

For example, pre-patch if you do a VLIST, you see something like this:
NF?   CF?   LF?   LATEST   TRAVERSE   -DUP   SPAC?   RO?   ?   ?
?   ?   ?   ALLO?   HERE   2+   1+   PREV   US?   HL?   R#   CS?

2. Fixed a variable-record-format corruption in FORTH.DAT.  The original FORTH.DAT on the FIGFORTH.DSK RL02 image had its record format set to VARIABLE which embedded 2-byte length headers every 512 bytes.  FORTH.MAC does not account for VARIABLE record formats, so you see a "?" every 512  bytes in the FORTH.DAT screens.

How to Build
Unzip the archive and get the three files onto your PDP via ftp or something.

To Build:
1. MACRO/LIST FORTH
2. TKB FORTH,FORTH
3. You will see a FORTH.TSK file as the final result

To Run:
1. RUN FORTH

To Clean:
DEL FORTH.OBJ;*
DEL FORTH.TSK;*
DEL FORTH.LST;*

Enjoy,
ECNeilson
figforth14.zip

Johnny Billquist

unread,
Sep 7, 2026, 12:02:10 PM (12 days ago) Sep 7
to pid...@googlegroups.com
Um? Did you start off from the V1.3 version, and not the V1.3.3 version?

Johnny

On 2026-09-07 17:49, Eric N wrote:
> FIG-Forth was released in 1979 for RSX-11 and RT-11 systems.  You can
> download the original releases here <http://www.stackosaurus.com/
> figforth.html>, but I found two issues when I compiled this on my PiDP
> RSX-11 system, so the attached .zip archive contains my patches to get
> FIG-Forth up and running on your RSX-11 and RT-11 systems.
>
> *Fixed Issues:*
> 1. FIG-FORTH's dictionary intentionally sets the high bit on each word's
> last name-character as an "end of name" marker, assuming a 7-bit-only
> terminal simply won't display that bit.  The problem is modern terminal
> emulators will treat that last byte as an invalid character and render
> it as a "?".  You see this "?" only in odd-numbered words, not even.
> It's really annoying if you're trying to decipher a 1-word character.
>
> For example, pre-patch if you do a VLIST, you see something like this:
> NF?   CF?   LF?   LATEST   TRAVERSE   -DUP   SPAC?   RO?   ?   ?
> ?   ?   ?   ALLO?   HERE   2+   1+   PREV   US?   HL?   R#   CS?
>
> 2. Fixed a variable-record-format corruption in FORTH.DAT.  The original
> FORTH.DAT on the FIGFORTH.DSK RL02 image had its record format set to
> VARIABLE which embedded 2-byte length headers every 512 bytes.
>  FORTH.MAC does not account for VARIABLE record formats, so you see a
> "?" every 512  bytes in the FORTH.DAT screens.
>
> *How to Build*
> Unzip the archive and get the three files onto your PDP via ftp or
> something.
>
> To Build:
> 1. MACRO/LIST FORTH
> 2. TKB FORTH,FORTH
> 3. You will see a FORTH.TSK file as the final result
>
> To Run:
> 1. RUN FORTH
>
> To Clean:
> DEL FORTH.OBJ;*
> DEL FORTH.TSK;*
> DEL FORTH.LST;*
>
> Enjoy,
> ECNeilson
>
> --
> You received this message because you are subscribed to the Google
> Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pidp-11+u...@googlegroups.com
> <mailto:pidp-11+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> pidp-11/35ec218b-95fc-470b-8032-0858ca47862en%40googlegroups.com
> <https://groups.google.com/d/msgid/
> pidp-11/35ec218b-95fc-470b-8032-0858ca47862en%40googlegroups.com?
> utm_medium=email&utm_source=footer>.

Eric N

unread,
Sep 7, 2026, 1:01:48 PM (12 days ago) Sep 7
to [PiDP-11]
Reply all
Reply to author
Forward
0 new messages