view mem.h @ 277:765e132edd71

Using push/pop inside translated code is not compatible with the current way the Z80 core returns to the caller
author Mike Pavone <pavone@retrodev.com>
date Fri, 03 May 2013 19:27:32 -0700
parents 2bdad0f52f42
children 140af5509ce7
line wrap: on
line source

#ifndef MEM_H_
#define MEM_H_

#include <stddef.h>

#define PAGE_SIZE 4096

void * alloc_code(size_t *size);

#endif //MEM_H_