Previous 199869 Revisions Next

r32565 Monday 6th October, 2014 at 14:24:06 UTC by Carl
(mess) pc9801: hack to simplify ide boot (nw)
[src/mess/drivers]pc9801.c

trunk/src/mess/drivers/pc9801.c
r32564r32565
426426#include "machine/pc9801_kbd.h"
427427
428428#include "machine/idectrl.h"
429#include "machine/idehd.h"
429430
430431
431432#define UPD1990A_TAG "upd1990a"
r32564r32565
753754
754755   DECLARE_DRIVER_INIT(pc9801_kanji);
755756   inline void set_dma_channel(int channel, int state);
757   virtual void device_reset_after_children();
756758};
757759
758760
r32564r32565
34573459   m_pc9821_window_bank = 0x08;
34583460}
34593461
3462void 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
34603470INTERRUPT_GEN_MEMBER(pc9801_state::pc9801_vrtc_irq)
34613471{
34623472   if(m_vrtc_irq_mask)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team