Interesting.
> The XDF format "tricks" the FDC by indicating on the track record that it has 39 128-byte sectors. But, the FDC does not rely upon that track record setting for each of the sectors within, and instead the OS sends sector size information for each sector. So, it uses four separate sizes for the space around the track, resulting in one 512-byte sector, one 1024-byte sector, one 2048-byte sector, and one 8192-byte sector.
So, this is only a trick for programming the FDC (at physical level).
> But, logically, the entire image inside the XDF is arranged as 23 sectors of 512 bytes. Track 0 only uses 19 sectors, however, so the last 4 are simply ignored.
So, on logical level, XDF image is just an usual sequence of 23*80*2 sectors 512 bytes each == 1884160 bytes. So,
the problem of windows image programs is that it has 23 sectors, not 18?
Hm, but why then diunpack doesn't work with these images? It should.
L:\data\vm>diunpack WIN1.DSK -d aaa\
DIUNPACK.EXE Release 3.00 12-20-95
Copyright (C) IBM Corporation 1995
All rights reserved.
Reading disk image....
ERROR: Image file fat is corrupt
[/quite]