English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 03 February 2010, 23:51   #1
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
Sas/c

Does anyone have an install for sas/c for the amiga?
Tiddlypeeps is offline  
Old 03 February 2010, 23:57   #2
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Yes, I'll upload them for you.

See this thread for details of the files:
http://eab.abime.net/showthread.php?t=49926
prowler is offline  
Old 04 February 2010, 00:08   #3
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
Thank you
Tiddlypeeps is offline  
Old 04 February 2010, 00:12   #4
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Okay, SAS/C 6.50 disks, patches and manuals (in text format) are in the Zone for you!

PS. SAS C 6.58 has a Y2K bug. This additional patch from Aminet will fix it:
http://aminet.net/package/dev/c/SASC_Y2k_patch
prowler is offline  
Old 04 February 2010, 00:57   #5
davideo
Amiga Tomcat
 
davideo's Avatar
 
Join Date: Sep 2007
Location: Boston Lincs
Posts: 1,500
@TP

Are you making any progress yet?

Times marching away and your deadline will be here sooner than you think

Dave G
davideo is offline  
Old 04 February 2010, 23:31   #6
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
Havent gotten too much done over the last couple of weeks, just messing around with different compilers. Trying to find one i can figure out how to work >.<

Haven't put too much time in to it tbh, ive had other projects to get out of the way that were due recently. Im hoping to put to get loads done over the next few weeks
Tiddlypeeps is offline  
Old 05 February 2010, 15:35   #7
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
What compilers and IDEs are you used to? There's no equivalent to XCode, Visual Studio, Eclipse etc. on the Amiga. The closest thing to an IDE I can remember seeing is HiSoft C++ which had an editor with integrated project folder and compiler controls, but it was a far cry from what you can find for PCs today.

At some point you'll probably have to get used to running the tools from command line or better yet a script, and if you've been using GCC like this previously then you can find that for the Amiga as well, or VBCC which adopts some of GCC's command line options and is also easy to work with.
Leffmann is offline  
Old 06 February 2010, 01:05   #8
davideo
Amiga Tomcat
 
davideo's Avatar
 
Join Date: Sep 2007
Location: Boston Lincs
Posts: 1,500
@Leffmann

The newer versions of StormC are very similar to HisoftC++

Even has colour coded syntax in the editor

Dave G
davideo is offline  
Old 07 February 2010, 02:40   #9
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
I have SAS/C working fine, I also figured out that the reson Dice wouldnt work for me was that i was supposed to make assigns and an enviroment variable or two, not entirely sure how to do this, but i will stick with sas/c as i have it working

@Dave G
Could you get the tutorial in GameSmith to run straight off for you, or did you have to change anything to get it to compile?
Tiddlypeeps is offline  
Old 07 February 2010, 20:15   #10
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
Can anyone tell me how to link a .lib file with a c project using sas/c?
Tiddlypeeps is offline  
Old 07 February 2010, 22:51   #11
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Click the SCOptions icon in your project directory --> Linker Options --> Libraries/Objects Add.
Leffmann is offline  
Old 07 February 2010, 22:52   #12
davideo
Amiga Tomcat
 
davideo's Avatar
 
Join Date: Sep 2007
Location: Boston Lincs
Posts: 1,500
@TP

Time for you to earn your Miggy experience badges

If you unpack the attached tutorial.zip file into the gamesmith drawer it will replace a couple of errors in the original tutorial.

You need SAS set up. I used version 6.5 for this example.

If all the paths are set up correctly it should work by the following method.

Open a CLI and change to the tutorial directory

Type in

SC Battle2.c

Then

Slink with battle2.link

then

Battle2

will run the program

There may be an easier way to compile and link in one go but this worked for me

Dave G
Attached Files
File Type: zip Tutorial.zip (171.3 KB, 249 views)
davideo is offline  
Old 07 February 2010, 23:09   #13
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
Thanks a mill!
That worked straight off
Tiddlypeeps is offline  
Old 07 February 2010, 23:16   #14
davideo
Amiga Tomcat
 
davideo's Avatar
 
Join Date: Sep 2007
Location: Boston Lincs
Posts: 1,500
Time for you to get some serious coding done now then

Dave G
davideo is offline  
Old 08 February 2010, 00:22   #15
Tiddlypeeps
Tiddlypeeps
 
Tiddlypeeps's Avatar
 
Join Date: Oct 2009
Location: Ireland
Posts: 67
I dont suppose you know any good software for editing images that work with GameSmith?

I looked up a few on google but there seems to be a good few different .pic formats and none that i have found work with gamesmith.
Tiddlypeeps is offline  
Old 08 February 2010, 00:32   #16
davideo
Amiga Tomcat
 
davideo's Avatar
 
Join Date: Sep 2007
Location: Boston Lincs
Posts: 1,500
The images that work with Citas are standard Amiga IFFs.

So Deluxe Paint or something similair will help you.

Gamesmith assumes all images have been created with Citas.

Citas as well as saving the images in the right format also creates the correct information for the collision tables for Gamesmith to handle.

To be honest "images" has been my let down so far in the fact that you really need to be an artist.

So to recap - Images are created in Deluxe Paint, saved and loaded into Citas which then saves them with extra information to be included within your C program and then utilised by the Gamesmith routines you include in your source.

You could always pinch somebody elses graphics. See this thread http://eab.abime.net/showthread.php?t=26461

Dave G
davideo is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
SAS C v6.50 Avanaboy request.Apps 2 22 April 2012 02:48
Sas C 6.58 AmiCoder request.Apps 3 06 February 2010 01:19
SAS/C v6.50 zerostress request.Apps 3 08 October 2007 10:35
Sas C V 6.0 Jherek Carnelia request.Apps 1 20 March 2007 10:13
Sas C Scoglio request.Apps 0 28 October 2002 11:13

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 10:25.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.46365 seconds with 16 queries