#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
◆ MemPos
Internal structure of mempos_t type.
Definition at line 24 of file memfile_types.h.
Data Fields |
uint8_t * |
ptr |
address on the CPU address space. |
uint8_t |
segment |
ROM / RAM mapper segment number. |
uint8_t |
slot |
slot address. |
◆ MemFile
◆ MemFileMethods
Definition at line 40 of file memfile_types.h.
Data Fields |
uint8_t(*)(struct MemFile *mf) |
read1 |
|
size_t(*)(struct MemFile *mf, void *ptr, size_t size) |
read |
|
void(*)(struct MemPos *dst, const struct MemPos *src, long offset) |
seek |
|
◆ mfpos()
uint32_t mfpos |
( |
const struct MemPos * | pos | ) |
|
◆ mfsize()
uint32_t mfsize |
( |
struct MemFile * | mf | ) |
|