49
edits
(→Emulator / tool support: Add Fuse/libspectrum support for DivMMC blocks.) |
(→Format extensions: Add ZXMMC block.) |
||
Line 91: | Line 91: | ||
#define ZXSTDIVMMC_COMPRESSED 4 | #define ZXSTDIVMMC_COMPRESSED 4 | ||
// | // DivMMC settings | ||
typedef struct _tagZXSTDIVMMCBLOCK | typedef struct _tagZXSTDIVMMCBLOCK | ||
{ | { | ||
Line 131: | Line 131: | ||
#define ZXSTDRF_COMPRESSED 1 | #define ZXSTDRF_COMPRESSED 1 | ||
// | // DivMMC RAM page | ||
typedef struct _tagZXSTDIVMMCRAMPAGEBLOCK | typedef struct _tagZXSTDIVMMCRAMPAGEBLOCK | ||
{ | { | ||
Line 319: | Line 319: | ||
'''chData'''<br /> The compressed or uncompressed contents of the Spectranet's RAM. When uncompressed, this member is exactly 128KB (131,072) bytes in size. When loading [http://www.zlib.org/ Zlib] compressed pages, the compressed size can be obtained by: | '''chData'''<br /> The compressed or uncompressed contents of the Spectranet's RAM. When uncompressed, this member is exactly 128KB (131,072) bytes in size. When loading [http://www.zlib.org/ Zlib] compressed pages, the compressed size can be obtained by: | ||
compressedSize = blk.dwSize - ( sizeof( ZXSTSPECTRANETFLASHPAGEBLOCK ) - sizeof( ZXSTBLOCK ) - 1 ); | compressedSize = blk.dwSize - ( sizeof( ZXSTSPECTRANETFLASHPAGEBLOCK ) - sizeof( ZXSTBLOCK ) - 1 ); | ||
=== ZXSTZXMMC === | |||
The state of the ZXMMC interface. | |||
// ZXMMC settings | |||
typedef struct _tagZXSTZXMMCBLOCK | |||
{ | |||
ZXSTBLOCK blk; | |||
} ZXSTZXMMCBLOCK, *LPZXSTZXMMCBLOCK; | |||
==== Members ==== | |||
'''blk'''<br /> The block header. The block id is ZXSTBID_ZXMMC ('Z', 'M', 'M', 'C'). | |||
(It is correct that this block has no members other than the block ID; the presence of this block indicates the presence of the interface). | |||
== Emulator / tool support == | == Emulator / tool support == |
edits