13 November 2017, 19:57 | #1 |
Registered User
Join Date: Jul 2014
Location: london
Posts: 49
|
Native code BCPL compiler for Amiga?
Is (or was) a native code compiler for BCPL available?
I assume MetaComCo must have one and I remember they advertised dev tools in the early 80s (although I've failed to find a copy of their ad on the net). And I'm aware of the interpreter version on aminet. |
14 November 2017, 01:45 | #2 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,366
|
Indeed there was one from Metacomco.
|
14 November 2017, 02:46 | #3 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
MetaComco's BCPL for the Sinclair QL
using google: site:archive.org metacomco bcpl reveals some result but I cannot find it for the amiga in my collection. other metacomco software i found (not yet in tosec it seems): Metacomco-ABasiC_v1.00_1985 Metacomco-Pascal_v3.04.01 Metacomco-ToolKit_v1.2 Metacomco-Macro.Assembler_v11.0 Metacomco-Shell_v1.25 Metacomco-Lisp_v0.9 I can make a zip and zone it, if you want. Last edited by emufan; 14 November 2017 at 04:11. |
14 November 2017, 08:35 | #4 |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,192
|
I'd be interested in the Metacomco LISP.
|
14 November 2017, 11:08 | #5 |
Registered User
Join Date: Jul 2014
Location: london
Posts: 49
|
Yes please upload the Metacomco tools!
I'm starting to wonder whether the Amiga BCPL compiler was ever made available. I've found ads from Feb 86 listing QL and ST tools but not a MMC Amiga ad. |
14 November 2017, 12:02 | #6 | |
Registered User
Join Date: Nov 2014
Location: NSW/Australia
Posts: 462
|
From here: http://www.pagetable.com/?p=34
Quote:
|
|
14 November 2017, 14:21 | #7 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
zoned:
MetaComco-Collection.zip Lisp Pascal Toolkit Assembler ABasic Shell the lisp disk comes with df0:L/Lisp/BCPLread and some tools ( df0:c/download ) to transfer "Sun" files (readable text in the binary). filestamps from nov 1985. #1) is there an ebook / manual for MCC Lisp? Last edited by emufan; 14 November 2017 at 14:46. |
14 November 2017, 14:48 | #8 | |
Registered User
Join Date: Jul 2014
Location: london
Posts: 49
|
Quote:
|
|
14 November 2017, 15:54 | #9 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
while it does work with quickstart a500 - running 'lisp' on my a1200 8mb chip / 512 fast, 030/882 kick/wb 3.1
gives an error message: "not enough store to load core image" there are some options - 'lisp ?' - but I cant make it work. any idea? |
14 November 2017, 16:16 | #10 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
I don't think Cambridge LISP is compatible with 32-bit addressing. You could try running NoFastMem first, or use a config that doesn't have memory outside the lower 16MB. And/or check the 24-bit addressing box in CPU settings.
|
14 November 2017, 22:48 | #11 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
There probably wasn't a (public) BCPL compiler for the Amiga. However with the leaked AmigaOS 3.1 source is what looks like a compiler executable for Sun (680x0) workstation, and the source code for that (in BCPL and 68000 assembler).
If you can get the Sun BCPL compiler working (do NetBSD or Linux support running M68K SunOS executables?), you could use that to compile an Amiga executable of the compiler. Last edited by mark_k; 15 November 2017 at 13:56. |
15 November 2017, 22:50 | #12 |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,321
|
Back in the 90's I was a student working for Philips Research in Eindhoven.
I had an old '030 Sun workstation running SunOS. Most employees had Sparc Stations. The WWW was a new thing back then! I was at Amiga32 in Germany where Dr. Tim King & his wife gave a great talk about TripOS and the Amiga. For me it was the most interesting presentation. |
16 November 2017, 00:29 | #13 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
The Machine Emulator does emulate sun3 68k based machines.
Sun Archive - archive of Sun3 OS 68k based. Installing SunOS 4.1.1 to Sun3 Emulated in TME 0.8 on Linux Last edited by emufan; 16 November 2017 at 00:36. |
16 November 2017, 00:41 | #14 | |
Registered User
Join Date: Jul 2014
Location: london
Posts: 49
|
Quote:
There are two Sun 68K binaries -- one for a 68010 and the other for 68020. It looks like NetBSD/sun3 on The Machine Emulator might run the latter if some libs are copied from https://winworldpc.com/product/sunos/3x. It might also be possible to emulate SunOS 3 or use Linux. A friend had one of the Sun 68K systems but it was about the size of a huge washing machine and I'm not sure it ever worked! |
|
16 November 2017, 00:52 | #15 | |
Registered User
Join Date: Jul 2014
Location: london
Posts: 49
|
Quote:
|
|
16 November 2017, 01:01 | #16 | |
Registered User
Join Date: Jul 2014
Location: london
Posts: 49
|
Quote:
|
|
16 November 2017, 03:52 | #17 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
I was finaly able - after some attempt many moons ago - to build it under cygwin/X
cannot find a win32 build anywhere, so this is at least a good starting point. if you want build it under current cygwin: 1) temporarly disable cygwins ltdl.h and libltdl.a ( rename them to ltdl.h_OFF / libltdl.a_OFF ) 2) ./configure --disable-warnings --disable-shared 3) make 4) should work til it starts linking "undefined reference to `XFree'" and more: tmesh/Makefile: add -lX11 to GTK_LIBS definition: GTK_LIBS = -lgtk-x11-2.0 ... -lfreetype -lX11 this will create a working tmesh.exe 5) make install and follow the howto above. for the x11 part, use aewm++ windowmanager, fvwm is unstable. startx /usr/bin/aewm++.exe and start tmesh.exe from within the x11 environment (see howto above) Last edited by emufan; 16 November 2017 at 04:18. |
16 November 2017, 08:22 | #18 |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,192
|
sorta offtopic: you dont need a window manager for X11 applications on Cygwin just run your X server in 'rootless' mode, i think Cygwin even supplies you a startmenu shortcut for it.
|
16 November 2017, 14:11 | #19 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
NetBSD/amiga should be able to run SunOS binaries so you might find doing that on WinUAE (download a pre-installed NertBSD HDF) easier than figuring out Sun emulation. I didn't try that yet.
Edit: Seems it might not be quite that simple. From the compat_sunos man page, if the SunOS executable you want to run isn't statically linked, you need to copy various libraries from a SunOS installation. Last edited by mark_k; 16 November 2017 at 14:31. |
16 November 2017, 16:29 | #20 | |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
once started, open new cygwin window, export DISPLAY=0:0 next tmesh.exe <config file> does start #1) using the howto above, i get a bus error, after format/partitioning *damn* :/ Last edited by emufan; 16 November 2017 at 17:15. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
native x86 code in WinUAE? | Falk | support.WinUAE | 20 | 21 January 2023 18:30 |
Best way to write native code? | arodgers | support.FS-UAE | 4 | 02 September 2016 19:53 |
FS-UAE Native Code? | jdog320 | support.FS-UAE | 2 | 26 July 2016 11:03 |
amiga c/c++ compiler | Fissuras | request.Apps | 41 | 18 June 2012 20:50 |
Best C Compiler for Amiga is? | Pyromania | Amiga scene | 5 | 14 May 2002 17:17 |
|
|