The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Paul Riley <paul@rileyriot.com>
To: tuhs@minnie.tuhs.org
Subject: [TUHS] LSX on the PDP-11/03 (LSI-11)
Date: Sun, 31 May 2020 14:26:25 +0800	[thread overview]
Message-ID: <CAD05_j2WM0z=oEz-woQLrB+rDH2Q3StoPSAQVa4zCLu1HdP2qA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

I've managed to acquire a PDP-11/03 with twin floppy drives (Sykes
Datatronics RX01 or RX02 equivalents, not sure yet which).

I've stumbled across LSX, and I have it running on SimH. I'm quite
inexperienced with Unix, but it's something I want to learn well, having
brushed against it at university in the '80s, and having played with Linux
somewhat.

I have some interest in Forth, but I don't like the block system of early
forths such as FigForth, and I plan to create a new Forth based on
FigForth, but supporting external source files.

Anyway, I've tried compiling Hello World on LSX, and I get "1: External
definition syntax" error. Some help would be nice, but more generally, is
anyone on this list more than vaguely familiar with LSX, or 6th Edition
itself?

void main () {
        printf("Hello World!");
}

It seems that the 7th Edition was the beginning of the standard library in
C, and that this is missing in LSX. I'm not sure if printf is an intrinsic
function in (6th Edition) C, or if it's from a library.

My questions are a bit random, but looking to converse with others with LSX
experience.

Paul

*Paul Riley*

Email: paul@rileyriot.com

[-- Attachment #2: Type: text/html, Size: 1770 bytes --]

             reply	other threads:[~2020-05-31  6:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31  6:26 Paul Riley [this message]
2020-05-31 12:34 ` ron
2020-05-31 17:43   ` Warner Losh
2020-06-01 16:41 ` Heinz Lycklama
2020-05-31 13:50 Paul Ruizendaal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD05_j2WM0z=oEz-woQLrB+rDH2Q3StoPSAQVa4zCLu1HdP2qA@mail.gmail.com' \
    --to=paul@rileyriot.com \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).