A.D.A. Amiga Demoscene Archive

  Welcome guest! Please register a new account or log in

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / Kirchhoff 2 demosystem

 

Author Message
z5_
Member
#1 - Posted: 8 Dec 2005 12:01 - Edited
Reply Quote
As written in another topic, Dalton (of Elcrew) released his (older) demosystem to demonstrate the use of c2p and startup.

Dalton wrote
"Here's the pack we used in elcrew earlier. It's basically a startup, Kalms' c2p and the p61 player. It has a small bug that crashes asm-one if you click the mouse in the editor window. It should not considered a good example of how to make use of the amiga, it goes against alot of the conventions that I have argued for on this forum. But it comes with free online support =)"

You can download it here.
z5_
Member
#2 - Posted: 8 Dec 2005 12:05 - Edited
Reply Quote
Well, as free on-line support was promised, i decided to create a separate topic about it :) In fact, i think it really is quite a straightforward demosystem covering many topics (including startup, structuring, c2p, copperlists,...)

I haven't managed to compile it, but i understand quite a lot of it already. However, i'm not sure about one thing. You have kirchhoff.i, which basically includes all necessary files (startup, P61,...). But including source doesn't mean that the code is executed. However, in example.s, i don't see where you call your startup-routine? Which makes me wonder, how/what should be assembled to get the thing up and running?
dalton
Member
#3 - Posted: 8 Dec 2005 12:18
Reply Quote
since kirchoff.i is included on top of example.s, all the includes are processed before the actual demo. Since startup.s is the first file to be included inside kirchhoff.i it is also the first code that is executed in the demo. It calls a label called 'begin' (if I remember right). So anything between startup.s and the lable 'begin' won't be executed unless you call it. If you look inside startup.s you shoud see 'jsr begin' between the init and exit routines.
z5_
Member
#4 - Posted: 8 Dec 2005 12:34 - Edited
Reply Quote
So it was my mistake: including source in example does mean that it gets executed. I thought that you needed to write 'jsr begin' in example itself.

By the way, who coded the c2p?
dalton
Member
#5 - Posted: 8 Dec 2005 17:26
Reply Quote
Kalms/tbl
kasie
Member
#6 - Posted: 22 Jan 2009 14:17
Reply Quote
Can somebody reupload the system (seems url is broken already) ?
z5_
Member
#7 - Posted: 22 Jan 2009 21:27 - Edited
Reply Quote
@kasie: here

 

  Please register a new account or log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0