Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello world for MACRO-10 and FAIL. #2209

Merged
merged 5 commits into from
Sep 8, 2023
Merged

Hello world for MACRO-10 and FAIL. #2209

merged 5 commits into from
Sep 8, 2023

Conversation

larsbrinkhoff
Copy link
Member

Adding UUOSYM so MACRO program can SEARCH it. Assemling the UUOSYM universal requires MACTEN.

With UUOSYM in place it's possible to assemble a "hello world" with MACRO. I also added one for FAIL. I'm not sure how FAIL programs usually get their system symbols, so for now it includes some OPDEFs.

Finally added XFILE scripts to automatically build the programs. They are put inside an archive to reduce clutter. Some scripts use :sleep to wait for a compiler running in the background. I don't like that, but I don't know how to do it better.

@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:15 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:15 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:15 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:15 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:15 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:24 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 7, 2023 19:27 — with GitHub Actions Inactive
@rmaldersoniii
Copy link

Adding UUOSYM so MACRO program can SEARCH it. Assemling the UUOSYM universal requires MACTEN.

With UUOSYM in place it's possible to assemble a "hello world" with MACRO. I also added one for FAIL. I'm not sure how FAIL programs usually get their system symbols, so for now it includes some OPDEFs.

FAIL assembles universal files the same way that Macro-10 does (UNIVERSAL UUOSYM in place of TITLE statement), and produces a .FUN symbol file (rather than .UNV). You probably need to massage the input file for FAIL syntax, if that's what you want to do.

@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:11 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:11 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:11 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:11 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff temporarily deployed to Deploy September 8, 2023 05:27 — with GitHub Actions Inactive
@larsbrinkhoff larsbrinkhoff merged commit 5a068bb into master Sep 8, 2023
12 checks passed
@larsbrinkhoff larsbrinkhoff deleted the lars/uuosym branch September 8, 2023 07:04
@larsbrinkhoff
Copy link
Member Author

You probably need to massage the input file for FAIL syntax, if that's what you want to do.

Thanks. Searching the Saildart archive I indeed see a lot of .FUN files. However, it seems FAIL programs normally don't have any SEARCH statement. Reading the FAIL source code it looks like it provides built-in symbols for system calls. But the set of symbols match what it's built for, so on ITS it doesn't have the WAITS UUOs. The ITS port of SUDS uses an .INSRT file with OPDEFS for the UUOs. I think, at least for now, having OPDEFs in the FAIL hello world is good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants