Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: The First Warp3D Based Amiga diskmag is born !  (Read 2704 times)

0 Members and 1 Guest are viewing this topic.

Offline Cass

Re: The First Warp3D Based Amiga diskmag is born !
« Reply #15 on: September 26, 2007, 07:02:30 PM »
Drop a message here, or you may find me on irc.
"If we don't got it, you don't want it!"

Offline yssing

Re: The First Warp3D Based Amiga diskmag is born !
« Reply #16 on: September 28, 2007, 07:24:01 AM »
Very cool :)

I would really like to see the code, if that is possible... :)

Offline kas1e

Re: The First Warp3D Based Amiga diskmag is born !
« Reply #17 on: September 28, 2007, 08:32:38 AM »
yssing, thanks. which config do you have btw?

What about code, code of course big lame-mess, in this fact i can't show it, but i think i will cleanup it a bit, and put on aminet after all, for avoid some day some hdd crash and loose all work. At this moment i can talk only about structure parts, if you interest:

Mag written on plain C with some parts of inline 68k asm (like memcpy functions) (in case with 68k vesion). Size of all sources (without data files) 450kb. Main source (mag.c) - 172kb of size and other 278k it's headers.

Into mag.c one big mess function GetInput(). Which catch buttons/mouse move/mouse pressing/unpressing and so on via IDCMP_RAWKEY.

Into headers mostly fucntions is for sprite loading to the buffers, and for uploading it to textures.
2 hard fucntion after all in headers, it's 'render text'. Becouse i get text from txt file, compare every letter by size, and draw it into texture. So here is texture calculateing, tons of memcpy, compares and and so on. And fucntion for plaing modules over ahi was pretty hard too for me, by Itix help me enought with it.

All of this i compile in end by VBCC, but, on testing stage all work is done by SASC, in fact of fast compilation if compare it witt VBCC.

For music i use ptplay.library by Itix, which is compiled by him for 68k/morphos, and the same library which recompiled by Fredrik Wikstorm for os4 (there is was some problems, and original one is crashes under latest updates, so it take some time to recompile and so on). For paula plaing - old ptreplay.library

If you in interest to know somethink else, we can talk about it of course.