ZX-State format: Difference between revisions

Jump to navigation Jump to search
m
Let's use HTTPS!
(→‎Emulator / tool support: Add Fuse/libspectrum support for ZXMMC block.)
m (Let's use HTTPS!)
Line 13: Line 13:


=== ZXSTDIVIDE ===
=== ZXSTDIVIDE ===
The state of the [http://web.archive.org/web/20150302052256/http://baze.au.com/divide/ DivIDE IDE hard disk and CompactFlash card interface].
The state of the [https://web.archive.org/web/20150302052256/http://baze.au.com/divide/ DivIDE IDE hard disk and CompactFlash card interface].
  // DivIDE flags
  // DivIDE flags
  #define ZXSTDIVIDE_EPROM_WRITEPROTECT 1
  #define ZXSTDIVIDE_EPROM_WRITEPROTECT 1
Line 77: Line 77:
|-
|-
|ZXSTDRF_COMPRESSED
|ZXSTDRF_COMPRESSED
|If set, the RAM page data (beginning from '''chData''') will be compressed using the [http://www.zlib.org/ Zlib] compression library.
|If set, the RAM page data (beginning from '''chData''') will be compressed using the [https://zlib.org/ Zlib] compression library.
|}
|}


Line 149: Line 149:
|-
|-
|ZXSTDRF_COMPRESSED
|ZXSTDRF_COMPRESSED
|If set, the RAM page data (beginning from '''chData''') will be compressed using the [http://www.zlib.org/ Zlib] compression library.
|If set, the RAM page data (beginning from '''chData''') will be compressed using the [https://zlib.org/ Zlib] compression library.
|}
|}


Line 286: Line 286:
|}
|}


&nbsp;&nbsp; '''chData'''<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The compressed or uncompressed contents of the Spectranet's flash memory. 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:
&nbsp;&nbsp; '''chData'''<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The compressed or uncompressed contents of the Spectranet's flash memory. When uncompressed, this member is exactly 128KB (131,072) bytes in size. When loading [https://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 );


Line 314: Line 314:
|-
|-
|ZXSTSRF_COMPRESSED
|ZXSTSRF_COMPRESSED
|If set, the RAM data (beginning from '''chData''') will be compressed using the [http://www.zlib.org/ Zlib] compression library.
|If set, the RAM data (beginning from '''chData''') will be compressed using the [https://zlib.org/ Zlib] compression library.
|}
|}


&nbsp;&nbsp; '''chData'''<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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:
&nbsp;&nbsp; '''chData'''<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The compressed or uncompressed contents of the Spectranet's RAM. When uncompressed, this member is exactly 128KB (131,072) bytes in size. When loading [https://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 );


Navigation menu