PZ80emu
0.1
src
memory.h
Go to the documentation of this file.
1
7
#ifndef __PZ80emu__memory__
8
#define __PZ80emu__memory__
9
10
#include <stdint.h>
11
13
#define MEMSIZE 65536
14
19
struct
memory
{
21
void (*
memory_free
)(
void
*
self
);
22
24
uint8_t *
memory
;
25
27
long (*
memory_load
)(
void
*
self
,
const
char
*filename);
28
};
29
30
__BEGIN_DECLS
31
struct
memory
*
memory_new
(
void
);
32
__END_DECLS
33
34
#endif
/* defined(__PZ80emu__memory__) */
MEMSIZE
#define MEMSIZE
Definition:
memory.h:13
memory
z80 memory class
Definition:
memory.h:19
memory_new
struct memory * memory_new(void)
Definition:
memory.c:85
memory_load
static long memory_load(void *self, const char *filename)
Definition:
memory.c:25
memory::memory_free
void(* memory_free)(void *self)
Definition:
memory.h:21
memory_free
static void memory_free(void *self)
Definition:
memory.c:72
memory_new
__BEGIN_DECLS struct memory * memory_new(void)
Definition:
memory.c:85
memory::memory_load
long(* memory_load)(void *self, const char *filename)
Definition:
memory.h:27
memory::memory
uint8_t * memory
Definition:
memory.h:24
memory.h
Memory setup functions.
Generated by
1.8.20