pouët.net

Go to bottom

Amiga democoding?

category: general [glöplog]

Just wondered, do the most impressive productions (e.g. TBL demos or Multiverse or Heartcore or even BASS) use any bit of assembly or is it possible to have such speeds for software buffer effects in the modern Amigas by purely coding in C language? Are there still many Amiga sceners out there coding in pure assembly?

Question number 2, what do you suggest if someone wants to start with Amiga coding? From C compilers and from Assemblers? Tutorials? Links???

I don't plan to start Amiga right now (Afteralls I also wanted to start Atari and other things, but I should better continue coding for GP32 this Summer), just it wouldn't be bad if I know from now and download the compilers and keep it in my HD for future use (whenever I am bored and want to learn something diferrent :). Afteralls, it all came out after watching a dream that I was an Amiga coder ;)
added on the 2005-06-19 10:00:00 by Optimus Optimus
Great topic, Optimus!

I always wondered about the question n° 1...i hope that the Pouet gurus can answer!
added on the 2005-06-19 12:20:15 by orb orb
Trifillers and such are generally optimized in asm. The less time-critical code is in C/C++.
The estimate is about 20% asm, 80% C/C++.
added on the 2005-06-19 12:22:34 by Scali Scali
Nearly every single Amiga demo is done in Assembler as everything else would be much too slow. Maybe they abuse C for calling the effects but the effects themselfs are all done in Assembler for its speed.

Chippacks and stuff like that can be done in C as the speed doesn't matter. But if you don't plan to code on an Amiga, why do you ask then??
added on the 2005-06-19 14:07:58 by ghandy ghandy
modern amigas :DDD
added on the 2005-06-19 14:50:34 by dodke dodke
I once coded about 10 lines of PPC assembly :)
it was kinda fun...
added on the 2005-06-19 14:53:47 by blala blala
I said I don't plan to code very soon but surely in the future, because many of you may wonder why am I not focusing in one platform and wandering around many machines (I have asked about AtariST and XL before, also still wishing to make something in Spectrum, but I still have to concentrate on GP32 this Summer (Yey! I have a GP32 :)). But if I have the Amiga compilers and docs, I may catch the mood to have a look one random day and who knows?
added on the 2005-06-19 16:07:02 by Optimus Optimus
if it ain't 100% pure asm then it doesn't have THE SPIRIT OF AMIGA!
But yes, I know I'm a moron for not using C...
i had fun disassembling silkcut ;) looks like alot of it was C(++). i guess it's the same for most 060 ami prods: innerloops in assembly rest in C. (something like scali says).

the older prods and ECS prods are probably all 100% assembly.
added on the 2005-06-19 18:44:35 by earx earx
I've always coded in pure ASM on the Amiga - that's the only alternative if you're planning on getting things running on an older machine..
But if you're aiming for modern Amigas, I guess C/C++ will do just fine.
added on the 2005-06-19 18:53:35 by booger booger
Quote:
i had fun disassembling silkcut ;) looks like alot of it was C(++). i guess it's the same for most 060 ami prods: innerloops in assembly rest in C. (something like scali says).


Respect to Earx,for The Sillcut Disassembling.
added on the 2005-06-19 19:26:37 by orb orb
100% ASM is the way to go for me too. And yes, I'm probably a complete idiot for making life harder for myself =)
added on the 2005-06-19 21:18:18 by britelite britelite
On a 030 machine, the C compiler is just too slow to be fun to use for testing... perhaps a 060 is better. So yes, at least in the olden days most people used 100% asm, nowdays maybe it can fit to use C for effect linking / storyboarding the demo.
added on the 2005-06-19 21:34:33 by winden winden
Quote:
Respect to Earx

definitely.
Quote:
,for The Sillcut Disassembling.


ehhh you're kidding right?
added on the 2005-06-20 00:32:27 by skrebbel skrebbel
also worth noting that some of the best amiga prods ever made (shanetro, ear bros promo, etc) were actually made in video tracker.
oh, i always thought they were made in amiga vision.
added on the 2005-06-20 01:20:20 by madMixx madMixx
slummy: word!

Seriously, I was doing everything in asm still back in 98. But the majority of coders were already using the mentioned mix of skeleton code in c and asm for inner loops/trifillers/c2p routines. some quite well known demo was even done in blitz basic with inline assembler. But this is some time ago, could well be that everyone is going java or rsi demomaker these days. :)

If you want to start with the amiga, the question is: which amiga? A500? 030/AGA? PowerPC? For classic amiga effects the by far hardest part is mastering the sometimes esoteric amiga custom chips. For modern (060) demos what you first need is some initialization code and a chunky2planar converter and the rest is somewhat similar to software rendering on a not-so-fast pc. (someone will kill me for this... much more optimization needed, though.)

added on the 2005-06-20 09:30:25 by Spin Spin
and it's usually only a 256 colors palette!
added on the 2005-06-20 09:34:18 by Spin Spin
optimus: if you're going to code gp32, you'll definately need to learn ARM assembler ;)
added on the 2005-06-20 09:42:20 by Inopia Inopia
For scenish things on Amiga, I always code in 100% Asm. Maybe thats why my productions suck so much ;-)

At least Todi/TLU, Bonkers/TLU, Stingray/[S], Scicco/[S], Dr. Doom/IRIS, and Blueberry/LNS all use Asm.
added on the 2005-06-20 10:00:33 by xeron xeron
As far as I know most coders use pure asm on amiga. I noticed that funktion uses c at breakpoint, and also I heard that tbl does it. But if you look at the discussions on ada (seems to be the only forum right now where amiga-coding is discuessed) high-level languages are rarely mentioned. I can say that from the amigacoders I know personally nobody uses c =)
added on the 2005-06-20 10:11:02 by Dalton Dalton
Psycho was using the Storm C environment on a Pegasos to write Multiverse at BP... so I guess most of that was in C, but i'm sure theres a fair amount of asm in there too.
added on the 2005-06-20 11:07:56 by xeron xeron
I use 100% asm on amiga too, but I'm also a moron.. I've started using C now and mix it all up with my asm sources and pass all parameters through global variables and registers.. Really bad code :) One thing that is very annoying with C on amiga is that compiling takes about five times longer than for an asm source so if you're doing some tweaking in the C-source you'll go nuts.
added on the 2005-06-20 11:12:03 by loaderror loaderror
most amicoders does indeed seem to use asm-only. i guess the biggest reason for this is that they are complete morons (just like slummy), the second biggest being the fact that most amiga (68k) c-compilers suck major ass.
added on the 2005-06-20 11:14:28 by kusma kusma
I have coded only one Amiga production and all the code was pure C, except maybe some initialization stuff done by someone else.
added on the 2005-06-20 11:15:59 by dairos dairos

login

Go to top