![]() |
![]() |
![]() |
Table of contents![]() ![]() |
![]() |
ZXSTDOCKAn expansion cartridge for the Timex TS2068, TC2068 and Unipolbrit UK2068 computers. There will be one entry for each 8KB page enabled in the machines EXROM and DOCK memory banks by the expansion cartridge in use. This block is also used to store 128KB of the 272KB RAM in the Spectrum SE. // Ram pages are compressed using Zlib #define ZXSTDF_COMPRESSED 1 #define ZXSTDF_RAM 2 #define ZXSTDF_EXROMDOCK 3 // Timex Sinclair DOCK memory typedef struct _tagZXSTDOCK { ZXSTBLOCK blk; WORD wFlags; BYTE chPageNo; BYTE chData[1]; } ZXSTDOCK, *LPZXSTDOCK; Membersblk
The block header. The block id is ZXSTBID_DOCK ('D', 'O', 'C', 'K').
wFlags
Various flags. This can be any combination of:
chPageNo
Page number of this 8K RAM page in the applicable bank (DOCK or EXROM). This can range from 0-7, and pages are only written if they are provided by an expansion cartridge (i.e. no page is written for the Timex ROM 1 in the EXROM bank at page 0).
If the machine being emulated is a Spectrum SE, there will be 8 DOCK pages and 8 EXROM pages of RAM. chData
The actual compressed or uncompressed memory page data. When uncompressed, this member is exactly 8KB (8,192) bytes in size.
When loading Zlib compressed pages, the compressed size can be obtained by:
RemarksOnly those pages modified from their state at reset should be saved. Revision historyAvailable since version 1.3 |
![]() |
|
Copyright © 2001 - 2011 Jonathan Needle | ![]() |