Acornsoft Master/2P C compiler

bbc/electron apps, languages, utils, educational progs, demos + more
User avatar
pstnotpd
Posts: 397
Joined: Wed Jan 20, 2010 11:05 am
Contact:

Acornsoft Master/2P C compiler

Post by pstnotpd » Fri Aug 27, 2010 6:37 am

Has anyone made an image of this compiler? It came up some months ago that people here do have it.
Attachments
'C'.JPG
'C'.JPG (52.19 KiB) Viewed 4127 times
Last edited by pstnotpd on Fri Aug 27, 2010 4:45 pm, edited 1 time in total.

User avatar
darren.au
Posts: 55
Joined: Wed Jun 09, 2010 2:51 am
Location: Australia
Contact:

Re: Acornsoft Master/2P C compiler

Post by darren.au » Fri Aug 27, 2010 6:45 am

I have a copy of the original disk image for the Acornsoft C compiler. I'm not sure what you mean with the Master/2P bit. My version ran on the master if that's what you mean. I think by memory it loaded data into sideways RAM.
Brrrrrrr-beep

User avatar
pstnotpd
Posts: 397
Joined: Wed Jan 20, 2010 11:05 am
Contact:

Re: Acornsoft Master/2P C compiler

Post by pstnotpd » Fri Aug 27, 2010 4:45 pm

Added the picture.

station240
Posts: 864
Joined: Tue Feb 09, 2010 6:11 pm
Location: South Australia
Contact:

Re: Acornsoft Master/2P C compiler

Post by station240 » Fri Aug 27, 2010 5:03 pm

pstnotpd wrote:Has anyone made an image of this compiler? It came up some months ago that people here do have it.

[photo of said item]
So what do you need us for, you have your image. :lol:


Darren should have figured out how to make disk images by now, I'm sure he'll let us know when he gets through that pile of floppies he has.

User avatar
jgharston
Posts: 4080
Joined: Thu Sep 24, 2009 12:22 pm
Location: Whitby/Sheffield
Contact:

Re: Acornsoft Master/2P C compiler

Post by jgharston » Sat Aug 28, 2010 11:23 am

Haven't got it at http://mdfs.net/C - would be interested in it when you image it. Various tools at http://mdfs.net/Apps/DiskTools

JGH

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.32
(C) Copyright J.G.Harston 1989,2005-2020
>_

User avatar
darren.au
Posts: 55
Joined: Wed Jun 09, 2010 2:51 am
Location: Australia
Contact:

Re: Acornsoft Master/2P C compiler

Post by darren.au » Sat Aug 28, 2010 12:17 pm

OK here is my image of Acornsoft-C. I hope it works ok. This will probably be my one and only contribution to the world of beeb (hey - another website name idea http://www.worldofbeeb.com).

Most of the stuff I had was either personal files or coding or magazine listings, and from what I read somewhere on STH only commerical stuff is considered.

Please let me know if you have any issues with it.

Cheers.
Attachments
ACORNSOFT-C.zip
Acornsoft-C
(105.39 KiB) Downloaded 315 times
Brrrrrrr-beep

User avatar
pstnotpd
Posts: 397
Joined: Wed Jan 20, 2010 11:05 am
Contact:

Re: Acornsoft Master/2P C compiler

Post by pstnotpd » Sun Aug 29, 2010 12:35 pm

The image works (with some tweaking). You wouldn't by any chance have the manual as well? What surprises me is that it reports it cannot compile on a 2nd processor. Was there another compiler?

User avatar
ukretrogamer
Posts: 432
Joined: Mon Nov 09, 2009 8:55 pm
Location: England's largest town
Contact:

Re: Acornsoft Master/2P C compiler

Post by ukretrogamer » Sun Aug 29, 2010 2:43 pm

Thanks for uploading the image Darren.
pstnotpd wrote:The image works (with some tweaking).
What tweaking was required to make it work for you?

In BeebEm, using Master 128 hardware emulation, I typed *EXEC SETUP and followed the instructions, pressing CTRL-Break. No tweaking required.

Then, on typing *C, you're into the IDE (If you can call it that).

However, typing COMPILE C.HELLOW to compile the short "Hello World" source demo on the disk, the compiler returns a "Catalog full" error.
(ADFS evangelists can now thumb their noses at those of us who prefer the simplicity of DFS).

In theory, the image works out-of-the-box but needs room on the disk to add files to the catalog when compiling. Maybe on drive 2 which appears to be blank. (Not that it matters but it may be worthwhile converting this to an SSD image?)

Instructions *would* be nice, though. Anybody?

RobC
Posts: 2963
Joined: Sat Sep 01, 2007 10:41 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by RobC » Sun Aug 29, 2010 3:21 pm

pstnotpd wrote:The image works (with some tweaking). You wouldn't by any chance have the manual as well? What surprises me is that it reports it cannot compile on a 2nd processor. Was there another compiler?
There are two disks - the 5.25" version is for the 2P. The 3.5" version works with SWRAM for M128 and Compact. My 5.25" disk was bad but MartinB kindly imaged it for me:
C-DFS.zip
(90.91 KiB) Downloaded 268 times
Scanning the manual is on my todo list but if anyone else is wants to scan it in the meantime, I'll happily post it to them (as long as they promise ot post it back!)

Cheers,

Rob

User avatar
MartinB
Posts: 5327
Joined: Mon Mar 31, 2008 10:04 pm
Location: Obscurity
Contact:

Re: Acornsoft Master/2P C compiler

Post by MartinB » Sun Aug 29, 2010 5:28 pm

Rob wrote:My 5.25" disk was bad but MartinB kindly imaged it for me
Oops - I've just realised, that's my photograph of my C so I guess I must be the 'people here do have it' that pstnotpd was referring to! You should just have been more direct with a sharp "Oi Martin!", "image, now...!" :wink:

Sorry about that then but whilst I was pleased to find the complete C package in my bargain bundle, it doesn't really excite me and so I never twigged when I saw your post. Anyway, I'm afraid I really don't have time to scan the manuals but I will more than likely be whacking the whole package on eBay in the near future to see how much it fetches. (Lots I hope [-o<)

User avatar
pstnotpd
Posts: 397
Joined: Wed Jan 20, 2010 11:05 am
Contact:

Re: Acornsoft Master/2P C compiler

Post by pstnotpd » Sun Aug 29, 2010 7:21 pm

@ukretrogamer:
I transferred everything to a CF drive and I had to do some SETPATH stuff. Hence the tweaking.

@Rob : I'm mainly looking for "instructions" i.e. compiler options and such

@Martin: I actually didn't realise the picture was yours, so hence no callout :)

RobC
Posts: 2963
Joined: Sat Sep 01, 2007 10:41 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by RobC » Sun Aug 29, 2010 8:15 pm

pstnotpd wrote:@ukretrogamer:

@Rob : I'm mainly looking for "instructions" i.e. compiler options and such
Okay, from the manual:

Type specifiers

char 1 byte
int 2 bytes
short 2 bytes
long 4 bytes
float 5 bytes
double 5 bytes

Header files

h.stdio I/O routines

h.string Memory/string operations

h.osdefs OS entry points

h.errno Error numbers

h.fcnt1 Filing/low level file constants

h.math Mathematical constants


Compiler options

Compiler options may be passed in any order as long as any -l option is last.

-dNDEBUG Takes out any assertions made using assert()
-dNSCANF is used if <h.stdio> is #included and scanf() code is not wanted. An example is linking with smallib

-f This option provides function tracing. The TRACE command is used to turn tracing on

-l If the compilation is successful, this option immediately invokes the linker.

-m Maximum number of errors the compiler will report e.g. COMPILE test -m10

-q Turn off the compiler's header and summary information.

Linker Options

There are four libraries provided: stdlib, smallib, system and minlib

stdlib has all library functions, smallib has all but printf and scanf (5K), system doesn't have high-level i/o (3K),
minlib has a minimal set of routines [0.25K]

-d Address Specify execution address (as the code produced isn't relocatable) e.g. -d8000

-l Exludes stlib from linking e.g. LINK testfile minlib -l

-n List functions - gives addresses at which functions are located

-q Turn off title and summary information produced by linker

-r Run executable following linking. Any remaining command-line arguments are passed to the executable

Execution

>filename Redirect stdout to file during execution
>>filename As above but append
#filename Redirect stderr to file during execution
#>filename As above but append
<filename Stdin comes from file

MODE Sets current screen mode

REPORT Print last system message encountered

SETPATH element [,element] Specify where C looks for header files, commands etc.

SHOWPATH Print current path

TRACE Toggle tracing

If you want any specific information, let me know.

Regards,

Rob

User avatar
darren.au
Posts: 55
Joined: Wed Jun 09, 2010 2:51 am
Location: Australia
Contact:

Re: Acornsoft Master/2P C compiler

Post by darren.au » Mon Aug 30, 2010 12:19 am

Sorry I can't find any of the manuals.
Brrrrrrr-beep

User avatar
pstnotpd
Posts: 397
Joined: Wed Jan 20, 2010 11:05 am
Contact:

Re: Acornsoft Master/2P C compiler

Post by pstnotpd » Fri Apr 22, 2011 10:24 am

Finally, succes! :D

The problem with not being able to compile was due to the fact that SETPATH must include the drive number when running from the CF under ADFS.

So C>SETPATH :0.$.ACORN-C did the trick.

And when compiling on a 65816 ReCo linear mode should be disabled.

simes
Posts: 48
Joined: Sun Apr 15, 2012 8:44 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by simes » Mon Sep 10, 2012 6:21 pm

Has anyone been able to scan a copy of the manual yet?

RobC
Posts: 2963
Joined: Sat Sep 01, 2007 10:41 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by RobC » Mon Sep 10, 2012 9:06 pm

I've got some leave coming up at the end of the month - I'll get it done then unless someone else can do it in the meantime.

Regards,

Rob

TopBanana
Posts: 1072
Joined: Wed Jun 09, 2010 3:16 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by TopBanana » Mon Sep 10, 2012 9:36 pm

Is this it ?
Attachments
BeebugC-UG.zip
(4.74 MiB) Downloaded 179 times

TopBanana
Posts: 1072
Joined: Wed Jun 09, 2010 3:16 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by TopBanana » Mon Sep 10, 2012 9:39 pm

And this one ?
Attachments
CStandAloneGenerator-manual_pdf.zip
(349.22 KiB) Downloaded 155 times

RobC
Posts: 2963
Joined: Sat Sep 01, 2007 10:41 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by RobC » Mon Sep 10, 2012 10:05 pm

Unfortunately not - these are for the Beebug C compiler rather than the Acornsoft one.

I believe I have the roms/software for this if they aren't widely available...

TopBanana
Posts: 1072
Joined: Wed Jun 09, 2010 3:16 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by TopBanana » Tue Sep 11, 2012 10:42 am

RobC wrote:Unfortunately not - these are for the Beebug C compiler rather than the Acornsoft one.

I believe I have the roms/software for this if they aren't widely available...
Sorry Rob - I wasn't paying attention.

:oops:

simes
Posts: 48
Joined: Sun Apr 15, 2012 8:44 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by simes » Tue Sep 11, 2012 2:43 pm

RobC wrote:Unfortunately not - these are for the Beebug C compiler rather than the Acornsoft one.

I believe I have the roms/software for this if they aren't widely available...
Thanks for pointing this out, yes I was after the Acornsoft one.

I might try the Beebug one as well so thanks for posting those manuals.

Does the Acornsoft one have a ROM its looks like just a disk in the picture

RobC
Posts: 2963
Joined: Sat Sep 01, 2007 10:41 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by RobC » Tue Sep 11, 2012 4:43 pm

The Acornsoft one comes on two disks: 5.25" for Beeb with 6502 co-pro and 3.5" for Master/Compact (i.e. using SWRAM).

I believe the Beebug one comes on two roms - I have both packages but have never tried using Beebug C.

User avatar
Dave Footitt
Posts: 916
Joined: Thu Jun 22, 2006 10:31 am
Location: Abandoned Uranium Workings
Contact:

Re: Acornsoft Master/2P C compiler

Post by Dave Footitt » Fri Jul 05, 2013 11:13 pm

I just checked out the "IDE"... too old school even for me :lol:

IBM portable PC
Posts: 153
Joined: Mon Apr 01, 2013 10:48 pm
Location: Melbourne, Australia
Contact:

Re: Acornsoft Master/2P C compiler

Post by IBM portable PC » Fri Sep 20, 2013 1:21 pm

Did anyone end up scanning the Acornsoft C manual?
WISH LIST: Acornsoft C Compiler PDF manual, Anything 68008/68000 related, LVL Upgrade manual/ROMS, Watford Floppy Drive Selector, Commodore (CBM) PET ROM/S for CST Procyon IEEE-488 Interface", Beeb on a Eurocard systems

User avatar
danielj
Posts: 8331
Joined: Thu Oct 02, 2008 5:51 pm
Location: Manchester
Contact:

Re: Acornsoft Master/2P C compiler

Post by danielj » Fri Sep 20, 2013 1:49 pm

Not AFAIK -
Rob, I'll add it to my scanning queue if you'd like, I'm doing ISO-Pascal at the moment, I can sneak it in in front of BCPL? (and yes, I promise to send it back!)

d.

RobC
Posts: 2963
Joined: Sat Sep 01, 2007 10:41 pm
Contact:

Re: Acornsoft Master/2P C compiler

Post by RobC » Fri Sep 20, 2013 5:43 pm

danielj wrote:Rob, I'll add it to my scanning queue if you'd like, I'm doing ISO-Pascal at the moment, I can sneak it in in front of BCPL? (and yes, I promise to send it back!)
Thanks - it's still on my to-do list. Send me a PM when you're able to start on it and, if I haven't already got round to scanning it, I'll pop it in the post.

IBM portable PC
Posts: 153
Joined: Mon Apr 01, 2013 10:48 pm
Location: Melbourne, Australia
Contact:

Re: Acornsoft Master/2P C compiler

Post by IBM portable PC » Fri Sep 20, 2013 10:35 pm

I have an ADF (auto doc feed) scanner and are happy to scan it if someone is time poor and does not mind paying for air mail to Australia.......

Clem
WISH LIST: Acornsoft C Compiler PDF manual, Anything 68008/68000 related, LVL Upgrade manual/ROMS, Watford Floppy Drive Selector, Commodore (CBM) PET ROM/S for CST Procyon IEEE-488 Interface", Beeb on a Eurocard systems

Mr-GC
Posts: 14
Joined: Sat Sep 21, 2013 7:23 am
Contact:

Re: Acornsoft Master/2P C compiler

Post by Mr-GC » Sat Sep 21, 2013 4:40 pm

Hi,

I'm trying to run the Acorn C compiler on BeebEm, emulating a Master 128. When I run the setup file, the images are loaded into RAM but when I do *ROMS it shows that the "first" ROM is unplugged - anyone got any ideas where I'm going wrong? I'm switching to DFS to run the disk image that I downloaded from this thread and everything looks like it's working, but I can't enter the IDE after doing Ctrl-Break. All help gratefully received :-)

Thanks,
Graham

User avatar
danielj
Posts: 8331
Joined: Thu Oct 02, 2008 5:51 pm
Location: Manchester
Contact:

Re: Acornsoft Master/2P C compiler

Post by danielj » Sat Sep 21, 2013 8:17 pm

It'll just be your rom config file, but you can "*INSERT [romnumber]" followed by a ctrl-break to make sure it's "plugged in"

:)

d.

Mr-GC
Posts: 14
Joined: Sat Sep 21, 2013 7:23 am
Contact:

Re: Acornsoft Master/2P C compiler

Post by Mr-GC » Sat Sep 21, 2013 9:26 pm

Thank you! Schoolboy error... trouble is, I was a schoolboy the last time I used a Beeb :-)

Post Reply

Return to “8-bit acorn software: other”