English Amiga Board


Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

 
 
Thread Tools
Old 22 July 2016, 22:22   #1
FizzyChicken
 
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.
 
AdSense AdSense  
Old 22 July 2016, 22:24   #2
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,696
Aztec C? DICE?
mark_k is offline  
Old 22 July 2016, 22:36   #3
FizzyChicken
 
Posts: n/a
It came on one floppy. I remember that. There was much floppy swapping on an A500, but it would compile.
 
Old 23 July 2016, 02:40   #4
RedskullDC
Digital Corruption
RedskullDC's Avatar
 
Join Date: Jan 2007
Location: Sydney/Australia
Age: 54
Posts: 310
Hi FizzyChiken, et al.
Quote:
Originally Posted by FizzyChicken View Post
It came on one floppy. I remember that. There was much floppy swapping on an A500, but it would compile.

Only C compiler that could be shoehorned onto one disk (that I know of) was Aztec 3.x.

Cheers,
Red
RedskullDC is offline  
Old 23 July 2016, 09:56   #5
gilgamesh
Linux snob

gilgamesh's Avatar
 
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?
gilgamesh is offline  
Old 23 July 2016, 11:41   #6
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,019
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.
phx is offline  
Old 23 July 2016, 12:55   #7
alkis
Registered User

 
Join Date: Dec 2010
Location: Athens/Greece
Age: 46
Posts: 364
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.
alkis is offline  
Old 23 July 2016, 16:14   #8
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,051
Aztec-C 5.2a and 3.6a - HDF
SAS-C 6.58 with latest updates - HDF
emufan is offline  
Old 23 July 2016, 17:17   #9
nogginthenog
Amigan

 
Join Date: Feb 2012
Location: London
Posts: 493
Quote:
Originally Posted by RedskullDC View Post
Only C compiler that could be shoehorned onto one disk (that I know of) was Aztec 3.x.
I think DICE could run from floppy.
nogginthenog is offline  
Old 24 July 2016, 05:29   #10
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,070
I think North C could also run from floppy.
idrougge is offline  
Old 26 July 2016, 13:16   #11
FizzyChicken
 
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.
 
Old 14 September 2016, 08:46   #12
B14ck W01f
m68k all the way
 
Join Date: Aug 2011
Location: Koalaland
Posts: 482
HiSoft C?
B14ck W01f is offline  
Old 14 September 2016, 10:19   #13
Zetr0
Ya' like it Retr0?
Zetr0's Avatar
 
Join Date: Jul 2005
Location: United Kingdom
Age: 43
Posts: 9,769
@FizzyChicken

Quote:
Originally Posted by FizzyChicken View Post
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.
This is very generic and would run under DICE / Hi-Soft / Lattice / SAS / and Storm C
Zetr0 is offline  
Old 14 September 2016, 16:12   #14
kamelito
Zone Friend
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 829
@FizzyChicken
Just put the source code into the Zone and someone will build an exe
Kamelito
kamelito is offline  
AdSense AdSense  
 


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 18:35
Compiler BinoX support.WinUAE 2 22 August 2014 14:10
De-compiler Sim085 support.Other 3 21 November 2013 12:15
C compiler raptor_13 Coders. General 14 27 May 2008 10:40
C Compiler recomendations? gary Coders. General 9 11 May 2002 16:53

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:06.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.17155 seconds with 14 queries