src/mess/machine/adam.c
| r4051 | r4052 | |
| 521 | 521 | If you have the source listing or the Rom dump, please send us. |
| 522 | 522 | */ |
| 523 | 523 | int DCB_Num, deviceNum, statusDCB; |
| 524 | | int i, buffer, byteCount, sectorNmbr, /*sectorCount,*/ currentSector; |
| 524 | int i, buffer, /*byteCount,*/ sectorNmbr, /*sectorCount,*/ currentSector; |
| 525 | 525 | UINT8 kbcode; |
| 526 | 526 | static const UINT8 interleave[8] = {0,5,2,7,4,1,6,3}; |
| 527 | 527 | const device_config *image; |
| r4051 | r4052 | |
| 556 | 556 | //logerror("Accesing DCB %02Xh\n", DCB_Num); |
| 557 | 557 | deviceNum = (ram[statusDCB+0x10]&0x0F)+(ram[statusDCB+0x09]<<4); |
| 558 | 558 | buffer=(ram[statusDCB+0x01])+(ram[statusDCB+0x02]<<8); |
| 559 | | byteCount=(ram[statusDCB+0x03])+(ram[statusDCB+0x04]<<8); |
| 559 | //byteCount=(ram[statusDCB+0x03])+(ram[statusDCB+0x04]<<8); |
| 560 | 560 | |
| 561 | 561 | if (deviceNum>=4 && deviceNum<=7) |
| 562 | 562 | { |