GodLib

Speaking with the gods about their latest releases or various subjects

Moderators: Moderator Team, Reservoir Gods

User avatar
karlm
Atari Super Hero
Atari Super Hero
Posts: 713
Joined: Thu Nov 13, 2003 4:09 am
Location: Top of the World - Australia

GodLib

Postby karlm » Fri Apr 22, 2005 3:25 am

over in coding Pink indicated that there was a new updated Godlib available. Erm, would be available.
So is it, and will it be?

karlm.

User avatar
Strider
Atari Super Hero
Atari Super Hero
Posts: 866
Joined: Tue Jun 18, 2002 5:16 pm
Location: Grenoble, France
Contact:

Postby Strider » Tue Sep 20, 2005 12:28 am

Is there a documentation for Godlib's APIs?
Maybe it could be possible to create the doc with a tool such as Doxygen?
Strider from MJJ Prod
May the TOS be with you!

User avatar
ggn
Atari God
Atari God
Posts: 1134
Joined: Sat Dec 28, 2002 4:49 pm

Postby ggn » Tue Sep 20, 2005 5:43 am

As with most coders, I guess Pink is too bored to document his own sources :)

He does provide some examples with the lib though.
is 73 Falcon patched atari games enough ? ^^

User avatar
Strider
Atari Super Hero
Atari Super Hero
Posts: 866
Joined: Tue Jun 18, 2002 5:16 pm
Location: Grenoble, France
Contact:

Postby Strider » Tue Sep 20, 2005 3:40 pm

One of the aims of Doxygen is to create a documentation from sources.
I'm not familiar with Doxygen but I've done my best while creating Godlib docs.
I will upload the zipped docs as soon as possible (I mean as soon as my DSL connection comes back 'coz I use a 56K modem now :cry: ).
Size of archive is 1 MB and it needs about 8 MB for depacking and an OS which accepts long filenames (it tried it on my Falcon running MiNT and Highwire, it works pretty well).
Strider from MJJ Prod
May the TOS be with you!

User avatar
sh3-rg
Captain Atari
Captain Atari
Posts: 435
Joined: Thu May 08, 2003 1:33 pm
Location: bolton - england
Contact:

Postby sh3-rg » Tue Sep 20, 2005 4:53 pm

i will point pinky in this direction
fxXxings to disco mobile
Image

User avatar
Strider
Atari Super Hero
Atari Super Hero
Posts: 866
Joined: Tue Jun 18, 2002 5:16 pm
Location: Grenoble, France
Contact:

Postby Strider » Tue Sep 20, 2005 5:25 pm

Mr Pink's examples help quite a lot.

Ok now my DSL connection is back, so here are the docs: http://strider.mjjprod.free.fr/outils/godlib_doc.zip (start it with "index.html")
Strider from MJJ Prod
May the TOS be with you!

User avatar
karlm
Atari Super Hero
Atari Super Hero
Posts: 713
Joined: Thu Nov 13, 2003 4:09 am
Location: Top of the World - Australia

Postby karlm » Fri Oct 14, 2005 1:47 am

so are we likley to see godlib v2.0 or what!? or was pinky in a drunken haze!? :)

cheers

karlm

User avatar
sh3-rg
Captain Atari
Captain Atari
Posts: 435
Joined: Thu May 08, 2003 1:33 pm
Location: bolton - england
Contact:

Postby sh3-rg » Fri Oct 14, 2005 2:15 pm

Evil EA and their punnishing schedules... hen he's going to bugger off to .jp soon. Atari needs pink!
fxXxings to disco mobile
Image

User avatar
CiH
Atari God
Atari God
Posts: 1098
Joined: Wed Feb 11, 2004 4:34 pm
Location: Middle Earth (Npton) UK
Contact:

Postby CiH » Fri Oct 14, 2005 4:09 pm

Evil EA and their punnishing schedules...


I remember there was this huge uproar on Slashdot a while back, about the whole quality of life thing, and how it related to EA working practices.

The conclusion was that they were a bunch of slave drivers. I wonder what Pink's own take on that was?
"Where teh feck is teh Hash key on this Mac?!"

User avatar
Azrael_CV
Atarian
Atarian
Posts: 8
Joined: Thu Apr 01, 2004 4:11 pm
Location: Paris
Contact:

Postby Azrael_CV » Tue Nov 15, 2005 4:43 pm

Hi,

Godlib is really powerfull, despite the fact it can't run under Steem with a TOS version older than 2.06. Thanks to RG.

I have one question : Is there a way not to compile all the files each time ? I mean how to build a library in pure C in order to have just one file named godlib.lib for example ?

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Postby Nyh » Tue Nov 15, 2005 10:11 pm

Azrael_CV wrote:I have one question : Is there a way not to compile all the files each time ? I mean how to build a library in pure C in order to have just one file named godlib.lib for example ?

Yes, no problem:

Code: Select all

; project file for godlib

e:\pc\lib\godlib.lib   ; output file is godlib.lib in teh PC directory on drive e:

.L[-J]
.C[-K -Y -P]

; add all c files to be compiled here
example.c (godlib.h example.h)

Build the project and the result is the library godlib.lib

Hans Wessels

User avatar
ggn
Atari God
Atari God
Posts: 1134
Joined: Sat Dec 28, 2002 4:49 pm

Postby ggn » Wed Nov 16, 2005 7:08 am

Azrael_CV wrote:Hi,

Godlib is really powerfull, despite the fact it can't run under Steem with a TOS version older than 2.06. Thanks to RG.

I have one question : Is there a way not to compile all the files each time ? I mean how to build a library in pure C in order to have just one file named godlib.lib for example ?


I remember finding a bug in his .asm routines that did the trap calling for malloc. That caused some trouble in TOSes<2.06. Shouldn't be too hard to find it (hey, if I did it, so can anyone else ;))

Bottom line: Pink has an ok version of godlib ;)

George
is 73 Falcon patched atari games enough ? ^^

User avatar
Azrael_CV
Atarian
Atarian
Posts: 8
Joined: Thu Apr 01, 2004 4:11 pm
Location: Paris
Contact:

Postby Azrael_CV » Wed Nov 16, 2005 2:23 pm

Hi,

Thanks for the help, it works fine. A '=' (equal) is missing but that's nothing, I didn't knew the compiler directives, that's all.

I tried to compile first all the Godlib in one file, but it seems that some files doesn't work well, as CHUNKY.S and GRF_TC_S.S. I stopped my investigations here and decided to put in one file only what I nedd. It worked.

And again, thanks a lot, it saves time during the compiling process.

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Postby Nyh » Wed Nov 16, 2005 3:10 pm

Azrael_CV wrote:And again, thanks a lot, it saves time during the compiling process.

How are you building you projects? Normally Pure C only compiles changed files (Alt-m make). It has to check all files to see if they have changed (source fule timestamp is later as objectfile timestamp) but it won't compile every file (unless you use Alt-a to make a project).

Hans Wessels

User avatar
Azrael_CV
Atarian
Atarian
Posts: 8
Joined: Thu Apr 01, 2004 4:11 pm
Location: Paris
Contact:

Postby Azrael_CV » Wed Nov 16, 2005 3:35 pm

Nyh wrote:Normally Pure C only compiles changed files (Alt-m make).


Normally, as you said, but it doesn't work with me, so that I have to do an Alt-x to force to make all the files.

In fact I am under Steem. I like to have a lot of lines of code on screen, so that I edit the C source under Win and compile the project in Pure C under Steem. But when I do an Alt-m after modifying the source code it doesn't compile. I don't know why and I won't look forward for the moment.

Az.

User avatar
Strider
Atari Super Hero
Atari Super Hero
Posts: 866
Joined: Tue Jun 18, 2002 5:16 pm
Location: Grenoble, France
Contact:

Postby Strider » Wed Oct 25, 2006 8:29 pm

ggn wrote:I remember finding a bug in his .asm routines that did the trap calling for malloc. That caused some trouble in TOSes<2.06. Shouldn't be too hard to find it (hey, if I did it, so can anyone else ;))


George, can you tell me more about this bug? I'm an absolute newbie in asm, some help would be greatly appreciated!

I really would like to start doing things with this lib but for the moment it doesn't compile for TOS < 2.06 ...
Strider from MJJ Prod
May the TOS be with you!


Social Media

     

Return to “Reservoir Gods”

Who is online

Users browsing this forum: No registered users and 2 guests