22 July 2016, 21:22 | #1 |
Posts: n/a
|
C Compiler question
Hi. Back in 1993 for my University dissertation I wrote a Fractal Scenery Generator on the Amiga. In the years since I've lost the executable and all my old Amiga floppies etc, but I do have the C listing for my application.
So my question is, which C compiler do people think I used, because I'm thinking about re-entering my code on UAE and breathing life into my past software. I can't remember which compiler I used at the time but I do remember that it worked on the University's A500, just 8). At home I had an A1500 with expansions and it worked great on that. I've had a quick look at Lattice 3 but it didn't ring any bells. Anyone else got any suggestions as to what I used to build my project ? Thanks. |
22 July 2016, 21:24 | #2 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Aztec C? DICE?
|
22 July 2016, 21:36 | #3 |
Posts: n/a
|
It came on one floppy. I remember that. There was much floppy swapping on an A500, but it would compile.
|
23 July 2016, 01:40 | #4 |
Digital Corruption
Join Date: Jan 2007
Location: Dorrigo/Australia
Age: 60
Posts: 355
|
|
23 July 2016, 08:56 | #5 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Shouldn't K&R C code compile (almost) the same on any K&R C compiler?
|
23 July 2016, 10:41 | #6 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Looking at the source could give us some more hints. Were there any compiler-specific proto-, pragma- or inline include-directives? Or compiler-specific C-library function calls? Lattice- and SAS/C had some of those (e.g. stccpy(), strsfn(), etc.).
When the source is plain K&R- or ANSI-C there shouldn't be a problem anyway, and you can use any compiler you want. |
23 July 2016, 11:55 | #7 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Since you are going to work with UAE, you can lift the restrain of one floppy only.
Setup a hard disk for UAE, install SAS C, enjoy. |
23 July 2016, 16:17 | #9 |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,309
|
|
24 July 2016, 04:29 | #10 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
I think North C could also run from floppy.
|
26 July 2016, 12:16 | #11 |
Posts: n/a
|
Thanks for the info guys. I'll have a look at those compilers. As you say, since I'll be using UAE there's no need for the single floppy restriction 8). The source looks pretty standard to me, albeit a bit strange looking at my own code from 23 years ago 8). Here's the include stuff:
#include <exec/types.h> #include <exec/memory.h> #include <intuition/intuition.h> #include <math.h> #include <stdlib.h> #include <libraries/dos.h> #include <stdio.h> #include <graphics/gfx.h> No pragmas that I can find. |
14 September 2016, 07:46 | #12 |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
HiSoft C?
|
14 September 2016, 09:19 | #13 | |
Ya' like it Retr0?
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
|
@FizzyChicken
Quote:
|
|
14 September 2016, 15:12 | #14 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
@FizzyChicken
Just put the source code into the Zone and someone will build an exe Kamelito |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A/C Compiler | christianlucio | request.Apps | 4 | 25 September 2014 17:35 |
Compiler | BinoX | support.WinUAE | 2 | 22 August 2014 13:10 |
De-compiler | Sim085 | support.Other | 3 | 21 November 2013 11:15 |
C compiler | raptor_13 | Coders. General | 14 | 27 May 2008 09:40 |
C Compiler recomendations? | gary | Coders. General | 9 | 11 May 2002 15:53 |
|
|