+atari1byte Posted September 7, 2022 Share Posted September 7, 2022 Hello everyone ! I was looking for a C compiler documented to make 2d games. What do you recommend me ? Thank you all ! Quote Link to comment Share on other sites More sharing options...
Daedalus2097 Posted September 7, 2022 Share Posted September 7, 2022 There are a few decent options on the Amiga. GCC is there for pretty much industry standard code, but is a little heavy and clunky to use. Dice C is pretty good and more Amiga-centric, VBCC is probably the most commonly used one though. Most C coding on the Amiga tends to be for applications so most code examples will be along those lines, but you've got the full Amiga API at your disposal including all the graphics, sound and controller functions, and banging the hardware can be done without too much trouble if you prefer. 1 Quote Link to comment Share on other sites More sharing options...
carlsson Posted September 8, 2022 Share Posted September 8, 2022 I used to use a pirated version of SAS/C 6.0. It was meant to be installed on hard disk, but I managed to jury-rig a setup consisting of two floppy disks, the first with boot + editor + compiler and possibly some small source files, the second disk entirely with libraries. Then I utilized the RAM disk on my Amiga 500+ with 2 MB for temporary storage. I could have used Dice instead, but was told that SAS/C generated better code. Of course that is 30 years ago and I realize that even on the native Amiga scene, compilers must have evolved a lot since then. 1 Quote Link to comment Share on other sites More sharing options...
Minuous Posted September 28, 2022 Share Posted September 28, 2022 They haven't really evolved; SAS/C is still the best compiler for Classic Amigas. 1 Quote Link to comment Share on other sites More sharing options...
JamesD Posted October 11, 2022 Share Posted October 11, 2022 On 9/8/2022 at 4:27 PM, carlsson said: I used to use a pirated version of SAS/C 6.0. It was meant to be installed on hard disk, but I managed to jury-rig a setup consisting of two floppy disks, the first with boot + editor + compiler and possibly some small source files, the second disk entirely with libraries. Then I utilized the RAM disk on my Amiga 500+ with 2 MB for temporary storage. I could have used Dice instead, but was told that SAS/C generated better code. Of course that is 30 years ago and I realize that even on the native Amiga scene, compilers must have evolved a lot since then. When I was developing for the Amiga, I used Lattice C, which was later renamed SAS/C. I started out using a strait 68000, floppy drives, and a RAM disk. Copying include files and libraries to the RAM drive sped things up a lot. Floppies on their own work, but it's slow. I'd start compiles and go to bed. Then if I woke up and didn't hear the floppies running, I'd look to see if there were errors, fix it, and restart the build. It would be done by morning. Once I had a 68030, hard drive, 3 MB of RAM, and a disk cache utility, compiles took very little time. I'd still say SAS/C is the best C compiler for the Amiga. If you have the skill, GCC *might* generate a little better code at times, but I haven't used either in years. 1 Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 11, 2022 Share Posted October 11, 2022 Perhaps it depends on which version of C you are writing code for, assuming that VBCC and even more so GCC may support more recent standards than I assume SAS/C does, even if the later generates more efficient code for the same level of the language. 1 Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted October 11, 2022 Share Posted October 11, 2022 Ah, Lattice. I inherited a copy when I bought my original A500 and used it in my college C programming classes. Still have it. Is quite easy to use. My girlfriend bought me a copy of Cubic a long time ago, but I have not (though I should) used it yet. 1 Quote Link to comment Share on other sites More sharing options...
JamesD Posted October 12, 2022 Share Posted October 12, 2022 If I remember right, there was an effort to create a 68000 Clang/LLVM compiler. No idea how good it is though 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.