src/mess/drivers/xerox820.c
| r4914 | r4915 | |
| 342 | 342 | xerox820_state *state = device->machine->driver_data; |
| 343 | 343 | |
| 344 | 344 | /* drive select */ |
| 345 | | if (BIT(data, 0)) wd17xx_set_drive(state->wd1771, 0); |
| 346 | | if (BIT(data, 1)) wd17xx_set_drive(state->wd1771, 1); |
| 345 | int dvsel1 = BIT(data, 0); |
| 346 | int dvsel2 = BIT(data, 1); |
| 347 | 347 | |
| 348 | | floppy_drive_set_motor_state(get_floppy_image(device->machine, 0), 1); |
| 349 | | floppy_drive_set_motor_state(get_floppy_image(device->machine, 1), 1); |
| 350 | | floppy_drive_set_ready_state(get_floppy_image(device->machine, 0), 1, 0); |
| 351 | | floppy_drive_set_ready_state(get_floppy_image(device->machine, 1), 1, 0); |
| 348 | if (dvsel1) wd17xx_set_drive(state->wd1771, 0); |
| 349 | if (dvsel2) wd17xx_set_drive(state->wd1771, 1); |
| 352 | 350 | |
| 351 | floppy_drive_set_motor_state(get_floppy_image(device->machine, 0), dvsel1); |
| 352 | floppy_drive_set_motor_state(get_floppy_image(device->machine, 1), dvsel2); |
| 353 | floppy_drive_set_ready_state(get_floppy_image(device->machine, 0), dvsel1, 1); |
| 354 | floppy_drive_set_ready_state(get_floppy_image(device->machine, 1), dvsel2, 1); |
| 355 | |
| 353 | 356 | /* side select */ |
| 354 | 357 | wd17xx_set_side(state->wd1771, BIT(data, 2)); |
| 355 | 358 | |
| r4914 | r4915 | |
| 648 | 651 | |
| 649 | 652 | ROM_REGION( 0x1000, "monitor", 0 ) |
| 650 | 653 | ROM_DEFAULT_BIOS( "v20" ) |
| 651 | | ROM_SYSTEM_BIOS( 0, "v10", "Monitor v1.0" ) |
| 654 | ROM_SYSTEM_BIOS( 0, "v10", "Xerox Monitor v1.0" ) |
| 652 | 655 | ROMX_LOAD( "x820v10.u64", 0x0000, 0x0800, NO_DUMP, ROM_BIOS(1) ) |
| 653 | 656 | ROMX_LOAD( "x820v10.u63", 0x0800, 0x0800, NO_DUMP, ROM_BIOS(1) ) |
| 654 | | ROM_SYSTEM_BIOS( 1, "v20", "Monitor v2.0" ) |
| 657 | ROM_SYSTEM_BIOS( 1, "v20", "Xerox Monitor v2.0" ) |
| 655 | 658 | ROMX_LOAD( "x820v20.u64", 0x0000, 0x0800, CRC(2fc227e2) SHA1(b4ea0ae23d281a687956e8a514cb364a1372678e), ROM_BIOS(2) ) |
| 656 | 659 | ROMX_LOAD( "x820v20.u63", 0x0800, 0x0800, CRC(bc11f834) SHA1(4fd2b209a6e6ff9b0c41800eb5228c34a0d7f7ef), ROM_BIOS(2) ) |
| 660 | ROM_SYSTEM_BIOS( 2, "smart23", "MICROCode SmartROM v2.3" ) |
| 661 | ROMX_LOAD( "mxkx25a.u64", 0x0000, 0x0800, CRC(7ec5f100) SHA1(5d0ff35a51aa18afc0d9c20ef99ff5d9d3f2075b), ROM_BIOS(3) ) |
| 662 | ROMX_LOAD( "mxkx25b.u63", 0x0800, 0x0800, CRC(a7543798) SHA1(886e617e1003d13f86f33085cbd49391b77291a3), ROM_BIOS(3) ) |
| 663 | ROM_SYSTEM_BIOS( 3, "plus2", "MICROCode Plus2 v0.2a" ) |
| 664 | ROMX_LOAD( "p2x25a.u64", 0x0000, 0x0800, CRC(3ccd7a8f) SHA1(6e46c88f03fc7289595dd6bec95e23bb13969525), ROM_BIOS(4) ) |
| 665 | ROMX_LOAD( "p2x25b.u63", 0x0800, 0x0800, CRC(1e580391) SHA1(e91f8ce82586df33c0d6d02eb005e8079f4de67d), ROM_BIOS(4) ) |
| 657 | 666 | |
| 658 | 667 | ROM_REGION( 0x800, "chargen", 0 ) |
| 659 | 668 | ROM_LOAD( "x820.u92", 0x0000, 0x0800, CRC(b823fa98) SHA1(ad0ea346aa257a53ad5701f4201896a2b3a0f928) ) |