Mercurial > repos > blastem
view mem.h @ 390:561fe3ea3fc8
Use a call instruction to figure out the original native address when retranslating so that it does not get lost when the byte transforms from a instruction word to extension word
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 08 Jun 2013 11:31:52 -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_