Poster | Thread |
ErikBauer
| |
Classic AGA programming tools and technical reference Posted on 2-Nov-2016 7:55:47
| | [ #1 ] |
|
|
|
Super Member |
Joined: 25-Feb-2004 Posts: 1141
From: Italy | | |
|
| Hi there, just to ask: in order to hobby learn programming an AGA Amiga with C/C++ and Assembly what are the programming environments/tools you would suggest me to use? What are the best guides, tutorials, technical reference books I can read?
I'm an experienced programmer as I did it as my main job for 22 years, I've mostly programmed in Visual Basic, but I have basic understandings of Amiga Hardware, C programming, Object Oriented programming and X86 assembly (Yes... I know... I know... but nobody teached 68K assembly at school).
Thank you in advance. _________________ God created Paula so that Allister Brimble and Dave Whittaker could do music
Check my Amiga gameplays (ITA)! |
|
Status: Offline |
|
|
kolla
| |
Re: Classic AGA programming tools and technical reference Posted on 2-Nov-2016 8:47:34
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 21-Aug-2003 Posts: 2894
From: Trondheim, Norway | | |
|
| |
Status: Offline |
|
|
Overflow
| |
Re: Classic AGA programming tools and technical reference Posted on 2-Nov-2016 8:52:10
| | [ #3 ] |
|
|
|
Super Member |
Joined: 12-Jun-2012 Posts: 1628
From: Norway | | |
|
| |
Status: Offline |
|
|
Daedalus
| |
Re: Classic AGA programming tools and technical reference Posted on 2-Nov-2016 9:11:45
| | [ #4 ] |
|
|
|
Super Member |
Joined: 14-Jul-2003 Posts: 1680
From: Glasgow - UK, Irish born | | |
|
| @ErikBauer
The Amiga Autodocs are also very useful to have as a reference (just in case you don't already know about them): http://amigadev.elowar.com/
While the hardware reference unfortunately doesn't cover AGA hardware, the 3.5 includes and autodocs do, providing a handy reference for using graphics.library from C for example. _________________ RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X |
|
Status: Offline |
|
|
asymetrix
| |
Re: Classic AGA programming tools and technical reference Posted on 2-Nov-2016 16:56:55
| | [ #5 ] |
|
|
|
Cult Member |
Joined: 9-Mar-2003 Posts: 868
From: United Kingdom | | |
|
| @ErikBauer
AMIGA CODERS CLUB DISKS (assembler disk tutorials/ demo asm/copper code) Amiga FTP mirrors Commodore_Amiga/Collection/Coverdisk/ACC-Preservation/
https://archive.org Amiga C & assembler books
Amiga Books/magazines at the bombjack site
Devpack 3 disks (Assembler programming)
Developer suite amidevcpp
English Amiga Board Server File repository
amigadevhelp http://amiga.sourceforge.net/amigadevhelp/
Unfortunately no one maintains an updated developer suite for 3.x systems Last edited by asymetrix on 02-Nov-2016 at 05:00 PM.
_________________ Download 499.26 Mbps, 659.94 Mbps Upload :) |
|
Status: Offline |
|
|
wawa
| |
Re: Classic AGA programming tools and technical reference Posted on 2-Nov-2016 17:54:38
| | [ #6 ] |
|
|
|
Elite Member |
Joined: 21-Jan-2008 Posts: 6259
From: Unknown | | |
|
| |
Status: Offline |
|
|
Xenic
| |
Re: Classic AGA programming tools and technical reference Posted on 2-Nov-2016 19:11:27
| | [ #7 ] |
|
|
|
Super Member |
Joined: 2-Feb-2004 Posts: 1246
From: Pennsylvania, USA | | |
|
| |
Status: Offline |
|
|
kamelito
| |
Re: Classic AGA programming tools and technical reference Posted on 2-Nov-2016 19:25:42
| | [ #8 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 815
From: Unknown | | |
|
| |
Status: Offline |
|
|
ErikBauer
| |
Re: Classic AGA programming tools and technical reference Posted on 3-Nov-2016 11:42:05
| | [ #9 ] |
|
|
|
Super Member |
Joined: 25-Feb-2004 Posts: 1141
From: Italy | | |
|
| Thank you all, I'll have a look :)
_________________ God created Paula so that Allister Brimble and Dave Whittaker could do music
Check my Amiga gameplays (ITA)! |
|
Status: Offline |
|
|
Massi
| |
Re: Classic AGA programming tools and technical reference Posted on 3-Nov-2016 14:52:31
| | [ #10 ] |
|
|
|
Cult Member |
Joined: 2-Feb-2011 Posts: 627
From: Rome, Italy | | |
|
| @ErikBauer
Your request here is too generic in the sense that it is not clear which way you want to go:
1) AGA programming through OS API calls (standard OS applications)
2) Direct programming of the AGA chipset (applications that have direct access to the hardware)
They are different options and thus require a different knowledge in terms of languages, tools and the hardware itself.
_________________ SAM440EP-FLEX @ 733 Mhz, AmigaOS 4.1 Update 1 |
|
Status: Offline |
|
|
ErikBauer
| |
Re: Classic AGA programming tools and technical reference Posted on 3-Nov-2016 15:18:58
| | [ #11 ] |
|
|
|
Super Member |
Joined: 25-Feb-2004 Posts: 1141
From: Italy | | |
|
| Yes, you're right. The idea would be to be able to bang the HW but at the same time have some handy OS API at disposal to handle things like HDD/CD file access. I admit ignorance so I do not know if it is even possible, so I'm asking for generic documentation. Once I made my mind up I can ask more specific questions. _________________ God created Paula so that Allister Brimble and Dave Whittaker could do music
Check my Amiga gameplays (ITA)! |
|
Status: Offline |
|
|
Massi
| |
Re: Classic AGA programming tools and technical reference Posted on 3-Nov-2016 16:21:05
| | [ #12 ] |
|
|
|
Cult Member |
Joined: 2-Feb-2011 Posts: 627
From: Rome, Italy | | |
|
| @ErikBauer
Quote:
The idea would be to be able to bang the HW but at the same time have some handy OS API at disposal to handle things like HDD/CD file access. |
In a game or demo is perfectly legal, for example, allocating memory and loading data through the OS library calls and then disabling the OS for direct hardware access ... . I did this many times using C and the SAS/C compiler.
_________________ SAM440EP-FLEX @ 733 Mhz, AmigaOS 4.1 Update 1 |
|
Status: Offline |
|
|
ErikBauer
| |
Re: Classic AGA programming tools and technical reference Posted on 4-Nov-2016 8:57:38
| | [ #13 ] |
|
|
|
Super Member |
Joined: 25-Feb-2004 Posts: 1141
From: Italy | | |
|
| @Massi
Yes, it would be mostly for gaming. Question: is it possibile to bang the HW and in the meanwhile accessing to OS Library calls? I'm thinking a dynamic loading routine from HDD in order to pump up Sprites, Backdrops and Bobs in RAM dinamically a little short before they have to be displayed (Similar to the trick used in Silkworm) _________________ God created Paula so that Allister Brimble and Dave Whittaker could do music
Check my Amiga gameplays (ITA)! |
|
Status: Offline |
|
|
Massi
| |
Re: Classic AGA programming tools and technical reference Posted on 4-Nov-2016 14:33:53
| | [ #14 ] |
|
|
|
Cult Member |
Joined: 2-Feb-2011 Posts: 627
From: Rome, Italy | | |
|
| @ErikBauer
In my C code for the demo scene, when directly accessing the hardware, the OS itself is disabled and I don' t use OS library calls until the OS is restored.
I guess Silk Worm does access the floppy disk drive at hardware level not through the OS.
_________________ SAM440EP-FLEX @ 733 Mhz, AmigaOS 4.1 Update 1 |
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: Classic AGA programming tools and technical reference Posted on 4-Nov-2016 22:22:24
| | [ #15 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12818
From: Norway | | |
|
| |
Status: Offline |
|
|
ErikBauer
| |
Re: Classic AGA programming tools and technical reference Posted on 5-Nov-2016 9:17:38
| | [ #16 ] |
|
|
|
Super Member |
Joined: 25-Feb-2004 Posts: 1141
From: Italy | | |
|
| @NutsAboutAmiga
... that was unexpected... well, I'll see. For now it's just a concept of an Idea. Surely while reading the techinical docs and learning things it will take shape. Last edited by ErikBauer on 05-Nov-2016 at 09:18 AM.
_________________ God created Paula so that Allister Brimble and Dave Whittaker could do music
Check my Amiga gameplays (ITA)! |
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: Classic AGA programming tools and technical reference Posted on 5-Nov-2016 13:00:30
| | [ #17 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12818
From: Norway | | |
|
| |
Status: Offline |
|
|
ErikBauer
| |
Re: Classic AGA programming tools and technical reference Posted on 5-Nov-2016 13:34:02
| | [ #18 ] |
|
|
|
Super Member |
Joined: 25-Feb-2004 Posts: 1141
From: Italy | | |
|
| @NutsAboutAmiga
Yes, that's understood. I guess/hope all AGA Amiga have the same chipset components (well, a part from the AKIKO chip used by CD32), this way I'll have something to rely on when banging the HW. And I understand that the I/O devices would be different, that's why I'm willing to use OS Libraries to load data from disk.
My goal is to write something that runs on no less than an A1200 with 2+2Mb of RAM + HDD and takes advantage of anything more than that (More Fast RAM, faster CPU).
Last edited by ErikBauer on 05-Nov-2016 at 01:38 PM. Last edited by ErikBauer on 05-Nov-2016 at 01:35 PM.
_________________ God created Paula so that Allister Brimble and Dave Whittaker could do music
Check my Amiga gameplays (ITA)! |
|
Status: Offline |
|
|
Hypex
| |
Re: Classic AGA programming tools and technical reference Posted on 5-Nov-2016 15:28:26
| | [ #19 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11211
From: Greensborough, Australia | | |
|
| @ErikBauer
You can take control of the screen. For example blanking it with LoadView(0) and using a function like OwnBlitter(). Or even using OS to setup screen and then using that as your base of operations. Then use DOS when you need.
In case you want to take over completely you can Forbid() and poke hardware as you like. Then Permit(). And use DOS to load in more data.
It can be easier using a hybrid of functions. For example the system will setup a copperlist for you at the user prefs screen offset. Rather than building your own on a default offset. And you can add your own instructions. You can open a backdrop window on a screen to get benefits of using screen bitmap but easily detecting keys. Or load a display in with graphics.library which will block all other screens. |
|
Status: Offline |
|
|
ppcamiga1
| |
Re: Classic AGA programming tools and technical reference Posted on 13-Nov-2016 15:59:06
| | [ #20 ] |
|
|
|
Cult Member |
Joined: 23-Aug-2015 Posts: 767
From: Unknown | | |
|
| @ErikBauer
Amiga 1200 with Fast RAM has cpu faster than chipset and if You target Amiga 1200 with Fast RAM or better You will end doing everything by cpu. Because cpu is faster. There is no reason to bang hardware when everything is done by cpu. Use OS.
If You want to play with real true amiga retro You should target Amiga 500 with 1 MB RAM and fdd/gotek. Make game on non dos disk - there is no problem with this we have gotek. After booting take control on Amiga and don't use OS at all. Just like in the good old days.
|
|
Status: Offline |
|
|