Previous 15994 Revisions Next

r9111 Monday 13th September, 2010 at 08:24:27 UTC by Curt Coder
Fixed sector counting in TeleDisk images.
[docs]messnew.txt
[src/mess/formats]td0_dsk.c

src/mess/formats/td0_dsk.c
r9110r9111
8888
8989   if (!sector_is_index) {
9090      // when taking ID's return seek error if number is over counter
91      if (sector > sectors_per_track) {
91      if (sector >= sectors_per_track) {
9292         return FLOPPY_ERROR_SEEKERROR;
9393      }
9494   }
r9110r9111
228228   UINT8 *sector_info;
229229
230230   retVal = get_offset(floppy, head, track, sector_index, FALSE, &offset);
231
232231   sector_info = get_tag(floppy)->data + offset;
232   logerror("h %u t %u si %u : c %u s %u se %u\n", head,track,sector_index,sector_info[0],sector_info[1],sector_info[2]);
233233   if (cylinder)
234234      *cylinder = sector_info[0];
235235   if (side)
docs/messnew.txt
r9110r9111
4848
4949- Fixed Z80-SIO and DMA to allow trs80m2 to boot CP/M and TRSDOS. [Curt Coder]
5050
51- Fixed sector counting in TeleDisk images. [Curt Coder]
5152
5253
54
53550.139
5456
5557New System Drivers Supported:

Previous 15994 Revisions Next


© 1998-2018 The MESS Team