trunk/src/mess/drivers/pc9801.c
| r32564 | r32565 | |
| 426 | 426 | #include "machine/pc9801_kbd.h" |
| 427 | 427 | |
| 428 | 428 | #include "machine/idectrl.h" |
| 429 | #include "machine/idehd.h" |
| 429 | 430 | |
| 430 | 431 | |
| 431 | 432 | #define UPD1990A_TAG "upd1990a" |
| r32564 | r32565 | |
| 753 | 754 | |
| 754 | 755 | DECLARE_DRIVER_INIT(pc9801_kanji); |
| 755 | 756 | inline void set_dma_channel(int channel, int state); |
| 757 | virtual void device_reset_after_children(); |
| 756 | 758 | }; |
| 757 | 759 | |
| 758 | 760 | |
| r32564 | r32565 | |
| 3457 | 3459 | m_pc9821_window_bank = 0x08; |
| 3458 | 3460 | } |
| 3459 | 3461 | |
| 3462 | void pc9801_state::device_reset_after_children() |
| 3463 | { |
| 3464 | driver_device::device_reset_after_children(); |
| 3465 | ata_mass_storage_device *ide0 = machine().device<ata_mass_storage_device>("ide:0:hdd"); |
| 3466 | if(ide0) |
| 3467 | ide0->identify_device_buffer()[47] = 0; |
| 3468 | } |
| 3469 | |
| 3460 | 3470 | INTERRUPT_GEN_MEMBER(pc9801_state::pc9801_vrtc_irq) |
| 3461 | 3471 | { |
| 3462 | 3472 | if(m_vrtc_irq_mask) |