mpw/toolbox/mm.h

21 lines
317 B
C
Raw Normal View History

2013-02-08 03:49:20 +00:00
#ifndef __mpw_mm_h__
#define __mpw_mm_h__
2013-02-08 03:12:30 +00:00
#include <cstdint>
namespace MM
{
enum
{
2013-02-11 01:19:11 +00:00
memFullErr = -108,
memWZErr = -111,
2013-02-08 03:49:20 +00:00
};
bool Init(uint8_t *memory, uint32_t memorySize, uint32_t reserved);
2013-02-08 03:12:30 +00:00
2013-02-08 04:44:58 +00:00
uint16_t BlockMove(uint16_t trap);
2013-02-11 01:19:11 +00:00
uint16_t DisposePtr(uint16_t trap);
2013-02-08 03:12:30 +00:00
uint16_t NewPtr(uint16_t trap);
}
#endif