trunk/src/lib/formats/imd_dsk.c
| r19028 | r19029 | |
| 457 | 457 | |
| 458 | 458 | int etpos = tpos; |
| 459 | 459 | if(fm) |
| 460 | | etpos += sector_count*(6+5+2+11+6+1+ssize+2)*16; |
| 460 | etpos += sector_count*(6+5+2+11+6+1+size+2)*16; |
| 461 | 461 | else |
| 462 | | etpos += sector_count*(12+3+5+2+22+12+3+1+ssize+2)*16; |
| 462 | etpos += sector_count*(12+3+5+2+22+12+3+1+size+2)*16; |
| 463 | 463 | |
| 464 | 464 | if(etpos > cell_count) |
| 465 | 465 | throw emu_fatalerror("imd_format: Incorrect layout on track %d head %d, expected_size=%d, current_size=%d", track, head, cell_count, etpos); |