libmsx
C library for MSX
|
Open whole or part of memory image as stream. More...
Functions | |
void | mfopen_mem (MemFile *mf, uint8_t *p, size_t size) |
Open memory image in ROM/RAM as stream. | |
void | mfopen_bmem (MemFile *mf, bmemptr_t p, uint32_t size) |
Open memory image in banked memory (MegaROM) as stream. | |
void | mfslice (MemFile *dst, const MemFile *src, long size) |
Open a new stream with the specified size range from the current position. | |
Open whole or part of memory image as stream.
void mfopen_mem | ( | MemFile * | mf, |
uint8_t * | p, | ||
size_t | size | ||
) |
Open memory image in ROM/RAM as stream.
mf | Pointer to stream pointer to be initialized. |
p | Location of the memory image. |
size | Size in bytes. |
Open memory image in banked memory (MegaROM) as stream.
mf | Pointer to stream pointer to be initialized. |
p | Location of the memory image. |
size | Size in bytes. |