86F format handler updated to 86F version 2.0 and bit by bit handling;

FDI stream images are now also handled by the 86F handler;
Both floppy drives' motors now spin separately;
Added Plantronics ColorPlus emulation per patch from PCem forum;
Applied all mainline PCem commits;
Fixed several bugs.
This commit is contained in:
OBattler
2016-11-02 22:39:07 +01:00
parent 9a4e044d91
commit e280faa2d6
87 changed files with 16087 additions and 5675 deletions

View File

@@ -461,13 +461,13 @@ uint32_t ne2000_chipmem_read(ne2000_t *ne2000, uint32_t address, unsigned int io
// ROM'd MAC address
if ((address >=0) && (address <= 31)) {
retval = ne2000->macaddr[address];
retval = ne2000->macaddr[address % 32];
if ((io_len == 2) || (io_len == 4)) {
retval |= (ne2000->macaddr[address + 1] << 8);
retval |= (ne2000->macaddr[(address + 1) % 32] << 8);
}
if (io_len == 4) {
retval |= (ne2000->macaddr[address + 2] << 16);
retval |= (ne2000->macaddr[address + 3] << 24);
retval |= (ne2000->macaddr[(address + 2) % 32] << 16);
retval |= (ne2000->macaddr[(address + 3) % 32] << 24);
}
return (retval);
}