Page 4 of 4

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Wed Jun 07, 2023 9:43 am
by XorA
jobdone wrote: Wed Jun 07, 2023 6:19 am If it's any help, here is the output from qem-unzip on a different version of BCPL with the headers still intact.
Entry: ed
00 00 54 2C 00 01 00 00 12 C0 00 00 00 00 00 02 | ..T,............
65 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ed..............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 28 00 00 00 02 00 00 00 00 | ....IC.(........
Entry: install
00 00 09 94 00 00 00 00 00 00 00 00 00 00 00 07 | ................
69 6E 73 74 61 6C 6C 00 00 00 00 00 00 00 00 00 | install.........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 29 00 00 00 03 00 00 00 00 | ....IC.)........
Entry: bcpl_args
00 00 0E E4 00 00 00 00 00 00 00 00 00 00 00 09 | ................
62 63 70 6C 5F 61 72 67 73 00 00 00 00 00 00 00 | bcpl_args.......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 29 00 00 00 04 00 00 00 00 | ....IC.)........
Entry: bcpl_trn
00 00 28 AC 00 00 00 00 00 00 00 00 00 00 00 08 | ..(.............
62 63 70 6C 5F 74 72 6E 00 00 00 00 00 00 00 00 | bcpl_trn........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2A 00 00 00 05 00 00 00 00 | ....IC.*........
Entry: bcpl_syn
00 00 2E C4 00 00 00 00 00 00 00 00 00 00 00 08 | ................
62 63 70 6C 5F 73 79 6E 00 00 00 00 00 00 00 00 | bcpl_syn........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2A 00 00 00 06 00 00 00 00 | ....IC.*........
Entry: bcpl_err
00 00 08 BC 00 00 00 00 00 00 00 00 00 00 00 08 | ................
62 63 70 6C 5F 65 72 72 00 00 00 00 00 00 00 00 | bcpl_err........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2A 00 00 00 07 00 00 00 00 | ....IC.*........
Entry: bcpl_cg
00 00 58 AC 00 00 00 00 00 00 00 00 00 00 00 07 | ..X.............
62 63 70 6C 5F 63 67 00 00 00 00 00 00 00 00 00 | bcpl_cg.........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2B 00 00 00 08 00 00 00 00 | ....IC.+........
Entry: bcpl
00 00 23 08 00 01 00 00 17 70 00 00 00 00 00 04 | ..#......p......
62 63 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 | bcpl............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2B 00 00 00 09 00 00 00 00 | ....IC.+........
Entry: blink
00 00 32 18 00 01 00 00 1F 40 00 00 00 00 00 05 | ..2......@......
62 6C 69 6E 6B 00 00 00 00 00 00 00 00 00 00 00 | blink...........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2B 00 00 00 0A 00 00 00 00 | ....IC.+........
Entry: libhdr
00 00 08 49 00 00 00 00 00 00 00 00 00 00 00 06 | ...I............
6C 69 62 68 64 72 00 00 00 00 00 00 00 00 00 00 | libhdr..........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2C 00 00 00 0B 00 00 00 00 | ....IC.,........
Entry: boot_bcpl
00 00 01 88 00 00 00 00 00 00 00 00 00 00 00 09 | ................
62 6F 6F 74 5F 62 63 70 6C 00 00 00 00 00 00 00 | boot_bcpl.......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
00 00 00 00 49 43 AE 2C 00 00 00 0C 00 00 00 00 | ....IC.,........
That would be the same numbers I quoted above ;-)

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Wed Jun 07, 2023 5:02 pm
by jobdone
and using your excellent tool to do so :)

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Tue Jun 27, 2023 10:34 am
by Finn
As a learning-experience, here is a real-world BCPL application, the source code for the Essex MUD1:

https://github.com/PDP-10/MUD1.git

You still can play a version of it online as described here:

http://www.british-legends.com/CMS/inde ... y-the-game

Personally, I logged on from Linux/Ubuntu with:

Code: Select all

telnet british-legends.com 27750
Regards,
Finn

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Fri Nov 15, 2024 4:20 pm
by swensont
I'm late to this conversation, but I'm tinkering with BCPL. I've hit two snags. With the compiler running on SMSQmulator, the compiler window will disappear as soon as compilation has completed. If it completes with an error, you can't see what the error is. I don't see any options to pause the compiler to display the results of compilation. Since this the root of the issue is the PE, I switched over the sQLux to run BCPL. I'm now hitting an issue of when any BCPL program finished (like the compiler), sQLux just hangs.

Has any one else hit these issues and if so, have anyone found a workaround?

Tim

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Fri Nov 15, 2024 4:38 pm
by pjw
Tim,

I dont remember whether BCPL can take its source program from the command line. If it can, try:

EXEP <path>BCPL; <source program>,'BCPL', U

or variations thereof..

U is a flag to Unlock the window..

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Fri Nov 15, 2024 5:37 pm
by swensont
PJW,

Just using the U flag has worked:

exep mdv1_bcpl,U

When the program finishes, the PE does remove it. I've never used EXEP so thanks for the tip (can learn something new after 38 years of QLing).

Tim

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Fri Nov 15, 2024 6:02 pm
by pjw
There are four other flags that are worth knowing about. May come in handy in other tricky situations. See the relevant Keywords manual for your platform.

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Fri Nov 15, 2024 7:01 pm
by Derek_Stewart
Hi,

What if the extended environment is not loaded, the EXEP command is on present.

I used to use BCPL on a JS QL, with no problems, I will have look on real hardware and emulators.

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Fri Nov 15, 2024 7:08 pm
by pjw
Derek_Stewart wrote: Fri Nov 15, 2024 7:01 pm Hi,

What if the extended environment is not loaded, the EXEP command is on present.
<>
If theres no Extended Environment (Qdos/Minerva only) there is no need to "unlock" the screen. The EE is built in to SMSQ/E so there theres no getting away from it.

Re: Does anyone know where I can obtain MetaComCo BCPL?

Posted: Fri Nov 15, 2024 7:12 pm
by Derek_Stewart
pjw wrote: Fri Nov 15, 2024 7:08 pm
Derek_Stewart wrote: Fri Nov 15, 2024 7:01 pm Hi,

What if the extended environment is not loaded, the EXEP command is on present.
<>
If theres no Extended Environment (Qdos/Minerva only) there is no need to "unlock" the screen. The EE is built in to SMSQ/E so there theres no getting away from it.
There is always going to be problems, as BCPL pre-dates EE.