i didn't manage to mount any of the images on linux, but https://github.com/SteveFosdick/AcornFsUtils worked. (i couldn't get afstree to work, but did the trick.)
poking at the files...
<stdefs.h> (rather than <stddef.h>) was interesting. there are comments talking about how they're working from the ANSI drafts, which is unsurprising given that the Arc would ship before ANSI C was finished in 1988.
<armops.h> implies that sp was r12 rather than r13 back then? and r13 was used for a stack limit instead.
the adobe.c test program is interesting too ... looks like (in those pre-ANSI C days) adobe was struggling with differences between implementations and had cobbled together a test program of the things they relied on in their PostScript implementation that various compilers struggled with.
Code:
afscp -r NorcroftC.ADF:ARM
poking at the files...
<stdefs.h> (rather than <stddef.h>) was interesting. there are comments talking about how they're working from the ANSI drafts, which is unsurprising given that the Arc would ship before ANSI C was finished in 1988.
<armops.h> implies that sp was r12 rather than r13 back then? and r13 was used for a stack limit instead.
the adobe.c test program is interesting too ... looks like (in those pre-ANSI C days) adobe was struggling with differences between implementations and had cobbled together a test program of the things they relied on in their PostScript implementation that various compilers struggled with.
Statistics: Posted by enh — Thu Jun 12, 2025 11:36 pm