@@ -359,25 +359,23 @@ void at_state::ficpio_io(address_map &map)
359
359
map (0x0cf8 , 0x0cff ).rw (" pcibus" , FUNC (pci_bus_device::read), FUNC (pci_bus_device::write));
360
360
}
361
361
362
- // TODO: verify and remove these hacks once triple fault is fixed
363
362
void megapc_state::init_megapc ()
364
363
{
365
- uint8_t * ROM = memregion (" bios" )->base ();
366
- // HACK: keyboard checks
367
- ROM[0x19145 ] = 0x45 ;
364
+ // uint8_t* ROM = memregion("bios")->base();
365
+ // ROM[0x19145] = 0x45;
368
366
// To be removed when the keyboard controller from the MegaPC is dumped
369
- ROM[0x1fea0 ] = 0x20 ; // to correct checksum
367
+ // ROM[0x1fea0] = 0x20; // to correct checksum
370
368
}
371
369
372
370
void megapc_state::init_megapcpl ()
373
371
{
374
- uint8_t * ROM = memregion (" bios" )->base ();
375
- // HACK: keyboard checks
376
- ROM[0x187b1 ] = 0x55 ;
372
+ // uint8_t* ROM = memregion("bios")->base();
373
+ // ROM[0x187b1] = 0x55;
377
374
// To be removed when the keyboard controller from the MegaPC is dumped
378
- ROM[0x1fea0 ] = 0x20 ; // to correct checksum
375
+ // ROM[0x1fea0] = 0x20; // to correct checksum
379
376
}
380
377
378
+ // TODO: verify and remove this hack
381
379
void at_vrom_fix_state::init_megapcpla ()
382
380
{
383
381
uint8_t * ROM = memregion (" bios" )->base ();
@@ -779,11 +777,13 @@ void megapc_state::megapc(machine_config &config)
779
777
m_isabus->drq6_callback ().set (m_wd7600, FUNC (wd7600_device::dreq6_w));
780
778
m_isabus->drq7_callback ().set (m_wd7600, FUNC (wd7600_device::dreq7_w));
781
779
782
- ISA16_SLOT (config, " board1" , 0 , " isabus" , pc_isa16_cards, " fdcsmc" , true ); // FIXME: determine ISA bus clock
780
+ // FIXME: determine ISA bus clock
781
+ ISA16_SLOT (config, " board1" , 0 , " isabus" , pc_isa16_cards, " fdcsmc" , true );
783
782
ISA16_SLOT (config, " board2" , 0 , " isabus" , pc_isa16_cards, " comat" , true );
784
783
ISA16_SLOT (config, " board3" , 0 , " isabus" , pc_isa16_cards, " ide" , true );
785
784
ISA16_SLOT (config, " board4" , 0 , " isabus" , pc_isa16_cards, " lpt" , true );
786
- ISA16_SLOT (config, " board5" , 0 , " isabus" , pc_isa16_cards, " vga" , true );
785
+ // WD90C11A-LR
786
+ ISA16_SLOT (config, " board5" , 0 , " isabus" , pc_isa16_cards, " wd90c11_lr" , true );
787
787
// ISA cards
788
788
ISA16_SLOT (config, " isa1" , 0 , " isabus" , pc_isa16_cards, nullptr , false );
789
789
@@ -794,8 +794,8 @@ void megapc_state::megapc(machine_config &config)
794
794
keybc.kbd_clk ().set (" kbd" , FUNC (pc_kbdc_device::clock_write_from_mb));
795
795
keybc.kbd_data ().set (" kbd" , FUNC (pc_kbdc_device::data_write_from_mb));
796
796
797
- // TODO: likely wants IBM keyboard as per Teradrive
798
- pc_kbdc_device &pc_kbdc (PC_KBDC (config, " kbd" , pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL ));
797
+ // NOTE: wants an IBM keyboard
798
+ pc_kbdc_device &pc_kbdc (PC_KBDC (config, " kbd" , pc_at_keyboards, STR_KBD_IBM_PC_AT_84 ));
799
799
pc_kbdc.out_clock_cb ().set (" keybc" , FUNC (ps2_keyboard_controller_device::kbd_clk_w));
800
800
pc_kbdc.out_data_cb ().set (" keybc" , FUNC (ps2_keyboard_controller_device::kbd_data_w));
801
801
0 commit comments