view mem.h @ 259:d9417261366f

Fix a remaining z80_write reg swap bug. Properly initialize the native map slots. Reset appropriate regs when z80_reset is called.
author Mike Pavone <pavone@retrodev.com>
date Tue, 30 Apr 2013 00:39:20 -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_