Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.
Moderators: cheriff , Herben
Steve F
Posts: 75 Joined: Wed Apr 27, 2005 2:30 am
Location: Texas USA
Post
by Steve F » Sun Jun 19, 2005 12:53 pm
Is there an equivalent malloc() but for the GS frame buffer?
ooPo
Site Admin
Posts: 2023 Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:
Post
by ooPo » Sun Jun 19, 2005 1:05 pm
No, but gsKit does provide functionality similar to malloc(), I believe.
Steve F
Posts: 75 Joined: Wed Apr 27, 2005 2:30 am
Location: Texas USA
Post
by Steve F » Sun Jun 19, 2005 1:29 pm
I guess because it's ps2 hardware specific it wouldn't belong in the standard c libraries like the standard memory allocation functions. It does seem like a good utility to have in a graphic library. Does that mean it is up to the implementor of a graphic library to add it?
ooPo
Site Admin
Posts: 2023 Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:
Post
by ooPo » Sun Jun 19, 2005 1:36 pm
Yup. Sony doesn't provide a standard allocation method so the programmer is free to implement whichever way works best in their situation.