English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 25 March 2021, 01:38   #1
dlsa
Registered User
 
Join Date: Feb 2021
Location: Portugal
Posts: 40
New on developing for the Amiga

Hi,

I want to start developing for the classic amiga, the one that runs Kickstart3.1 and respective Worbench3.1.

I set up a cross compiler (Vbcc) to target the amiga platform and can compile, link on the host system (macOSX) and run the software on FS-UAE emulator from a shell.

Now I need the Amiga SDK to be able to use Intuition etc. Does anyone know if these are freely available and if so where ? If not, where can I buy a license ?
I own a copy of Amiga4ever, but don't know if it has that SDK.

Thanks,
Regards
dlsa is offline  
Old 25 March 2021, 02:22   #2
pipper
Registered User
 
Join Date: Jul 2017
Location: San Jose
Posts: 652
I highly recommend taking a look at this GCC cross compilation toolchain: https://github.com/bebbo/amiga-gcc

It comes with the NDK installed and various preinstalled headers for often used libraries.
pipper is offline  
Old 25 March 2021, 04:08   #3
Adrian Browne
Jackie Chan
 
Join Date: Mar 2012
Location: Ireland
Age: 46
Posts: 985
Hi, welcome. What are you planning to develop?
Adrian Browne is offline  
Old 25 March 2021, 04:39   #4
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
3.1 has been obsolete for over 20 years, why not develop for a modern AmigaOS version? You can get the NDK here: https://os.amigaworld.de/index.php?lang=en&page=12
Minuous is offline  
Old 27 March 2021, 01:54   #5
dlsa
Registered User
 
Join Date: Feb 2021
Location: Portugal
Posts: 40
Hi,

I am developing a game. Yes the version I am targeting is old, but I really want to do it for these versions of the software, so that me and other retro fans can enjoy.

As to the libraries, can they be downloaded stand-alone? I already have my toolchain setup with Vbcc, just need the libraries.

Thanks,
Regards
dlsa is offline  
Old 27 March 2021, 03:05   #6
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
The libraries are part of the OS, not of the NDK, so you should already have them.
Minuous is offline  
Old 27 March 2021, 03:42   #7
Adrian Browne
Jackie Chan
 
Join Date: Mar 2012
Location: Ireland
Age: 46
Posts: 985
Quote:
Originally Posted by dlsa View Post
Hi,

I am developing a game. Yes the version I am targeting is old, but I really want to do it for these versions of the software, so that me and other retro fans can enjoy.

As to the libraries, can they be downloaded stand-alone? I already have my toolchain setup with Vbcc, just need the libraries.

Thanks,
Regards
Cool- what's the concept?
Adrian Browne is offline  
Old 27 March 2021, 03:52   #8
dlsa
Registered User
 
Join Date: Feb 2021
Location: Portugal
Posts: 40
Hi,
As for the libraries, and they being included on the OS, are you talking about the .library files in the Libs: Volume ? If so how do I refer to them in the compilation Host that I use for development ?
And where are the .h header files for me to be able to include them in my code ?

As for the subject, its supposed to be a platform, adventure game of a character. I am thinking of doing several episodes. This one, the first, is when he was a kid and went to elementary school. He must survive his classmates that are mean, and do his homework anyway.

Thanks
Regards
dlsa is offline  
Old 27 March 2021, 05:22   #9
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
Yes, the header files are in the NDK.
Minuous is offline  
Old 27 March 2021, 06:37   #10
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
Quote:
Originally Posted by dlsa View Post
I am developing a game.
Then you probably don't want to use the OS.
Just straight hit the hardware. You can do that in C as well.
Tigerskunk is offline  
Old 27 March 2021, 18:57   #11
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
I'm not sure about the legal situation of the AmigaOS NDK, and investigating that kind of stuff makes me very tired, so I prefer to stay on the safe side and release vbcc without it.

You should easily find the NDK on the net, legally or illegally, who knows. Or just buy the Amiga Developer CD V2.1.
phx is offline  
Old 27 March 2021, 20:03   #12
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
The 3.9 NDK has never been sold, it has always been free. And it is not contained on the Developer CD anyway.
Minuous is offline  
Old 28 March 2021, 01:40   #13
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Read the initial post again and you may notice that he mentioned 3.1.
phx is offline  
Old 28 March 2021, 04:52   #14
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
Even for OS3.1 programming the 3.9 NDK is better. Not only is it free but some of the bugs of older versions such as 3.1 are documented.
Minuous is offline  
Old 28 March 2021, 20:09   #15
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by Minuous View Post
Even for OS3.1 programming the 3.9 NDK is better. Not only is it free but some of the bugs of older versions such as 3.1 are documented.
And it introduced some new bugs.

BTW, does anybody know if there is an official URL to download the free 3.9 NDK, which doesn't disappear soon?
amiga.com no longer works.
phx is offline  
Old 28 March 2021, 20:18   #16
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Maybe this: http://www.haage-partner.de/download/AmigaOS/NDK39.lha
daxb is offline  
Old 28 March 2021, 20:49   #17
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
@phx:

There are aspects of 3.1 which are accurately documented in the 3.1 NDK but which are not accurately documented in the 3.9 NDK? That is not the case; the reverse is in fact true.
Minuous is offline  
Old 29 March 2021, 19:21   #18
nyteshade
Registered User
 
Join Date: Mar 2020
Location: Boulder Creek / USA
Posts: 43
Does anybody know if they ever released or plan to release a NDK for 3.1.4 and/or the differences from 3.9? I know that, for example, Reaction was not owned or present at the time of 3.1.4’s release. And that there are likely new icon and workbench library functions in 3.1.4


Sent from my iPhone using Tapatalk
nyteshade is offline  
Old 29 March 2021, 20:02   #19
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,215
For 3.1.4, use the 3.9 SDK, the API extensions made in 3.1.4 are those that came from 3.9.
Thomas Richter is offline  
Old 30 March 2021, 02:56   #20
nyteshade
Registered User
 
Join Date: Mar 2020
Location: Boulder Creek / USA
Posts: 43
Hey Thomas. Nice to see you again. So there were no new calls implemented in any of the libraries for 3.1.4 or nothing that isn’t private? Will there be for 3.2 and if so, will there be a new NDK?


Sent from my iPhone using Tapatalk
nyteshade 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
Developing a level editor for your own game sparhawk support.Other 6 28 April 2020 17:31
Double barrel Amiga Future article series: Demoscene + Developing Demo Effects Photon News 3 29 December 2015 23:04
Dave Haynie Talks About Developing The Commodore Amiga pandy71 Nostalgia & memories 2 23 April 2014 20:38
First doubts for game developing nandius_c Coders. Asm / Hardware 21 25 October 2013 12:21
Who are developing games for Amiga platform at the moment? oldpx Amiga scene 65 06 October 2002 17:41

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 01:53.

Top

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