Well, if we can get this working, nobody will need to buy a real 64DD any more (damn, forget I said that, I might need to sell mine before then. lol)
@subbie - would it be better to merge this thread with the other one?...
OK, I thought I'd add a bit more info here about the LBA / Track stuff if anyone's wondering. This was from the contributions of other members + what I've found so far, so might not be 100% accurate...
// Each BLOCK is made up of 90 SECTORS (85 USER SECTORS + 4 C2 SECTORS + 1 GAP SECTOR) == ALL_SECS_PER_BLK.
// The USER part is 19720 Bytes total (for a Zone 0 block).
// Note: 7 BYTES are added to each USER sector for C1 code (error correction), then following the USER sectors are 4 SECTORS of C2 error correction code.
// I think this means that internally, each USER Sector (in Zone 0) really has 239 Bytes (232 Bytes of USER Data + 7 C1 Bytes).
//
//
// Or, to show it another way...
// Each SECTOR contains...
// [ 232 Bytes of USER DATA + 7 BYTES of C1 ] <- Note: The number of BYTES per SECTOR depends on the ZONE!!
//
// Each BLOCK contains...
// [ 85 SECTORS + 4 C2 SECTORS + 1 GAP SECTOR ] <- Total number of SECTORS per BLOCK == "ALL_SECS_PER_BLK" == 90 (0x5A).
//
// Each TRACK (one disk rotation)...
// [ FIRST BLOCK + SECOND BLOCK ]
//
//
// The number of sectors per block is constant, but the number of bytes per sector changes depending on the Zone.
//
// "jrra" figured that the second octet of BM_CTL selects the Read / Write Sector offset within the current Track...
// So, the 0x5A (90) part selects the start SECTOR of the current Track (90 Sectors per Block, two Blocks per Track) == ALL_SECS_PER_BLK.
//
// There are two BLOCKS per TRACK (one BLOCK per half a disk rotation).
//
// eg. the second octet of BM_CTL is set to 0x5A if the LBA is ODD...
// LBA 0 = Track 0, BM_CTL set to xx00xxxx ("SYS_DATA_LBA1" RETAIL) /* System LBA data recorded */
// LBA 1 = Track 0, BM_CTL set to xx5Axxxx ("SYS_DATA_LBA2" RETAIL) (spare Block)
//
// LBA 2 = Track 1, BM_CTL set to xx00xxxx ("SYS_DATA_LBA1" BLUE DEV) /* System LBA data recorded */
// LBA 3 = Track 1, BM_CTL set to xx5Axxxx ("SYS_DATA_LBA2" BLUE DEV) (spare Block)
//
// LBA 4 = Track 2, BM_CTL set to xx00xxxx
// LBA 5 = Track 2, BM_CTL set to xx5Axxxx
//
// LBA 6 = Track 3, BM_CTL set to xx00xxxx
// LBA 7 = Track 3, BM_CTL set to xx5Axxxx
//
// LBA 8 = Track 4, BM_CTL set to xx00xxxx ("SYS_DATA_LBA3" RETAIL) (spare Block)
// LBA 9 = Track 4, BM_CTL set to xx5Axxxx ("SYS_DATA_LBA4" RETAIL) (spare Block)
//
// LBA 10 = Track 5, BM_CTL set to xx00xxxx ("SYS_DATA_LBA3" BLUE DEV) (spare Block)
// LBA 11 = Track 5, BM_CTL set to xx5Axxxx ("SYS_DATA_LBA4" BLUE DEV) (spare Block)
//
// LBA 12 = Track 6, BM_CTL set to xx00xxxx ("SYS_UNCORR_LBA" RETAIL + BLUE DEV) /* LBA to check for false C2 data (copy protection) */
// LBA 13 = Track 6, BM_CTL set to xx5Axxxx
//
// LBA 14 = Track 7, BM_CTL set to xx00xxxx DISK ID (copy)
// LBA 15 = Track 7, BM_CTL set to xx5Axxxx DISK ID (Retail)!! (This is the first sector read by the 64DD, well for Mario Artist at least).
//
// LBA 16 = Track 8, BM_CTL set to xx00xxxx
// LBA 17 = Track 8, BM_CTL set to xx5Axxxx
//
// LBA 18 = Track 9, BM_CTL set to xx00xxxx
// LBA 19 = Track 9, BM_CTL set to xx5Axxxx
//
// LBA 20 = Track 10, BM_CTL set to xx00xxxx
// LBA 21 = Track 10, BM_CTL set to xx5Axxxx
//
// LBA 22 = Track 11, BM_CTL set to xx00xxxx
// LBA 23 = Track 11, BM_CTL set to xx5Axxxx (Last BLOCK / TRACK in System Area?)
//
// LBA 24 = Track 12, BM_CTL set to xx00xxxx (FIRST Block of USER Data / ROM Area!)
// LBA 25 = Track 12, BM_CTL set to xx5Axxxx
//
//
(Most of this is in the N64 SDK btw.)
So, that should give a clearer layout of the System Area blocks...
As far as I can tell, the System blocks are definitely missing from the Dezaemon / F-Zero Exp dumps (as discussed on 64DD.net ages ago).
I'm not sure if the SDK libraries only allow direct access to LBA's starting from 24, but it would be interesting to finally dump the system blocks for these disks.
More news soon, hopefully. :friendly_wink:
OzOnE.