Available memory

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
Strapping Scherzo
DC Developer
DC Developer
Posts: 2285
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Fri Feb 21, 2003 7:37 am
Location: Chicago, IL
Has thanked: 0
Been thanked: 1 time
Contact:

Available memory

Post by Strapping Scherzo »

Is there a way to find out how much memory is left for allocation?
Image
User avatar
Arqueiro
DCEmu Nutter
DCEmu Nutter
Posts: 785
Joined: Tue Jul 02, 2002 9:29 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Arqueiro »

waht are u talking about ? on dreamcast ?
3d graphics and visualization ?
http://www.arquiteturadigital.com
BlackAura
DC Developer
DC Developer
Posts: 9951
Joined: Sun Dec 30, 2001 9:02 am
Has thanked: 0
Been thanked: 1 time

Post by BlackAura »

You can call the function malloc_stats(), which is declared in malloc.h

I think it should print out some memory allocation stats, but I've not used it, so I don't know how useful that might (or might not) be.
Strapping Scherzo
DC Developer
DC Developer
Posts: 2285
Joined: Fri Feb 21, 2003 7:37 am
Location: Chicago, IL
Has thanked: 0
Been thanked: 1 time
Contact:

Post by Strapping Scherzo »

Thanks BlackAura. I'll give that a try.

As for you, Arqueiro... no, I didn't mean on the Dreamcast, I meant on Nintendo Game&Watch Cement Factory. :roll:
Image
Post Reply