view mem.h @ 334:4c91470e1a53

Only latch video mode at the very beginning of the frame to avoid problems with the cycle count getting out of sync with what I expect
author Mike Pavone <pavone@retrodev.com>
date Tue, 14 May 2013 00:46:34 -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_