Previous 15994 Revisions Next

r9386 Friday 15th October, 2010 at 03:37:01 UTC by Robbbert
Fixed hec2hrx crash on exit that was reported by Tafoid. mbee small tidyup.
[src/mess/drivers]hec2hrp.c
[src/mess/machine]mbee.c

src/mess/machine/mbee.c
r9385r9386
197197
198198READ8_HANDLER( mbee256_18_r )
199199{
200   UINT8 i;
201   UINT8 data = mbee256_q[0]; // get oldest key
200   UINT8 i, data = mbee256_q[0]; // get oldest key
202201
203202   if (mbee256_q_pos)
204203   {
r9385r9386
699698   memory_configure_bank(machine, "boot", 4, 1, &RAM[0x0000], 0x0000); // rom at boot for 4usec
700699   memory_configure_bank(machine, "bank8l", 0, 1, &RAM[0x0000],  0x0000); // rom
701700   memory_configure_bank(machine, "bank8h", 0, 1, &RAM[0x0800],  0x0000); // rom
701
702   mbee_size = 0x8000;
702703}
703704
704705DRIVER_INIT( mbee256 )
r9385r9386
720721
721722   timer_pulse(machine, ATTOTIME_IN_HZ(1),NULL,0,mbee_rtc_irq);   /* timer for rtc */
722723   timer_pulse(machine, ATTOTIME_IN_HZ(25),NULL,0,mbee256_kbd);   /* timer for kbd */
724
725   mbee_size = 0x8000;
723726}
724727
725728
src/mess/drivers/hec2hrp.c
r9385r9386
442442
443443MACHINE_CONFIG_END
444444/*****************************************************************************/
445static MACHINE_CONFIG_START( hec2hrx, driver_device )
445static MACHINE_CONFIG_START( hec2hrx, hec2hrp_state )
446446/*****************************************************************************/
447447/* basic machine hardware */
448448   MDRV_CPU_ADD("maincpu",Z80, XTAL_5MHz)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team