2004-02-15 20:46:45 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
|
|
*
|
|
|
|
* portion from penguin booter
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2004-06-02 17:38:24 +00:00
|
|
|
#include "misc.h"
|
2004-02-19 11:34:18 +00:00
|
|
|
#include "bank.h"
|
2004-02-15 20:46:45 +00:00
|
|
|
#include "memory.h"
|
2004-05-11 23:05:10 +00:00
|
|
|
#include "console.h"
|
2004-05-25 19:30:23 +00:00
|
|
|
#include "glue.h"
|
2004-02-15 20:46:45 +00:00
|
|
|
|
|
|
|
void *malloc(size_t size)
|
|
|
|
{
|
2004-05-25 19:30:23 +00:00
|
|
|
return NewPtr(size);
|
2004-02-15 20:46:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void free(void *ptr)
|
|
|
|
{
|
2004-05-25 19:30:23 +00:00
|
|
|
DisposePtr(ptr);
|
2004-02-15 20:46:45 +00:00
|
|
|
}
|