007 Trans-Master (1988)(ZX-Guaranteed)(Side A)[samdisk].dsk mentioned in [bugs:#450], uses a different track scheme than others:
The original format is 15x 256 byte sector in cylinder 36.
The 'faked' sector headers:
Side: 0, cylinder: 36 type: 0x00 tlen: 6250
h:119 t:119 s:119 l:119(8192) normal(MFM)
h:65 t:62 s:1 l:1(256) normal(MFM)
h:205 t:0 s:75 l:1(256) normal(MFM)
h:0 t:6 s:30 l:0(128) normal(MFM)
h:0 t:33 s:6 l:205(8192) normal(MFM)
h:1 t:54 s:1 l:0(128) normal(MFM)
h:17 t:0 s:0 l:4(2048) normal(MFM)
h:146 t:33 s:114 l:205(8192) normal(MFM)
h:1 t:18 s:33 l:224(8192) normal(MFM)
h:34 t:80 s:134 l:92(8192) normal(MFM)
h:33 t:62 s:50 l:138(8192) normal(MFM)
h:195 t:92 s:146 l:114(8192) normal(MFM)
h:0 t:0 s:0 l:0(128) normal(MFM)
h:0 t:0 s:0 l:0(128) normal(MFM)
h:0 t:0 s:0 l:0(128) normal(MFM)
This patch
- add a new "CPC_ISSUE_4" to detect this track layout in disk.c
- change MAX_SIZE_CODE to 6 (8192 byte) in upd_fdc.c
- fix the sector length handling in upd_fdc.c