src/mess/includes/abc80x.h
| r14957 | r14958 | |
| 142 | 142 | UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); |
| 143 | 143 | |
| 144 | 144 | void hr_update(bitmap_rgb32 &bitmap, const rectangle &cliprect); |
| 145 | |
| 146 | DECLARE_DIRECT_UPDATE_MEMBER(abc800m_direct_update_handler); |
| 145 | 147 | }; |
| 146 | 148 | |
| 147 | 149 | class abc800c_state : public abc800_state |
| r14957 | r14958 | |
| 157 | 159 | UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 158 | 160 | |
| 159 | 161 | void hr_update(bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 162 | |
| 163 | DECLARE_DIRECT_UPDATE_MEMBER(abc800c_direct_update_handler); |
| 160 | 164 | }; |
| 161 | 165 | |
| 162 | 166 | // ======================> abc802_state |
| r14957 | r14958 | |
| 184 | 188 | DECLARE_READ8_MEMBER( pling_r ); |
| 185 | 189 | DECLARE_WRITE_LINE_MEMBER( lrs_w ); |
| 186 | 190 | DECLARE_WRITE_LINE_MEMBER( mux80_40_w ); |
| 187 | | DECLARE_WRITE_LINE_MEMBER( vs_w ); |
| 191 | DECLARE_WRITE_LINE_MEMBER( vs_w ); |
| 192 | DECLARE_DIRECT_UPDATE_MEMBER(abc802_direct_update_handler); |
| 188 | 193 | |
| 189 | 194 | // cpu state |
| 190 | 195 | int m_lrs; // low RAM select |
| r14957 | r14958 | |
| 241 | 246 | DECLARE_WRITE_LINE_MEMBER( keydtr_w ); |
| 242 | 247 | DECLARE_WRITE_LINE_MEMBER( hs_w ); |
| 243 | 248 | DECLARE_WRITE_LINE_MEMBER( vs_w ); |
| 249 | DECLARE_DIRECT_UPDATE_MEMBER(abc806_direct_update_handler); |
| 244 | 250 | |
| 245 | 251 | // memory state |
| 246 | 252 | int m_keydtr; // keyboard DTR |
src/mess/drivers/abc80x.c
| r14957 | r14958 | |
| 1412 | 1412 | // DRIVER_INIT( abc800c ) |
| 1413 | 1413 | //------------------------------------------------- |
| 1414 | 1414 | |
| 1415 | | DIRECT_UPDATE_HANDLER( abc800c_direct_update_handler ) |
| 1415 | DIRECT_UPDATE_MEMBER(abc800c_state::abc800c_direct_update_handler) |
| 1416 | 1416 | { |
| 1417 | | abc800_state *state = machine.driver_data<abc800_state>(); |
| 1418 | | |
| 1419 | 1417 | if (address >= 0x7c00 && address < 0x8000) |
| 1420 | 1418 | { |
| 1421 | | direct.explicit_configure(0x7c00, 0x7fff, 0x3ff, machine.region(Z80_TAG)->base() + 0x7c00); |
| 1419 | direct.explicit_configure(0x7c00, 0x7fff, 0x3ff, machine().region(Z80_TAG)->base() + 0x7c00); |
| 1422 | 1420 | |
| 1423 | | if (!state->m_fetch_charram) |
| 1421 | if (!m_fetch_charram) |
| 1424 | 1422 | { |
| 1425 | | state->m_fetch_charram = 1; |
| 1426 | | state->bankswitch(); |
| 1423 | m_fetch_charram = 1; |
| 1424 | bankswitch(); |
| 1427 | 1425 | } |
| 1428 | 1426 | |
| 1429 | 1427 | return ~0; |
| 1430 | 1428 | } |
| 1431 | 1429 | |
| 1432 | | if (state->m_fetch_charram) |
| 1430 | if (m_fetch_charram) |
| 1433 | 1431 | { |
| 1434 | | state->m_fetch_charram = 0; |
| 1435 | | state->bankswitch(); |
| 1432 | m_fetch_charram = 0; |
| 1433 | bankswitch(); |
| 1436 | 1434 | } |
| 1437 | 1435 | |
| 1438 | 1436 | return address; |
| r14957 | r14958 | |
| 1440 | 1438 | |
| 1441 | 1439 | static DRIVER_INIT( abc800c ) |
| 1442 | 1440 | { |
| 1441 | abc800c_state *state = machine.driver_data<abc800c_state>(); |
| 1443 | 1442 | address_space *program = machine.device<cpu_device>(Z80_TAG)->space(AS_PROGRAM); |
| 1444 | | program->set_direct_update_handler(direct_update_delegate(FUNC(abc800c_direct_update_handler), &machine)); |
| 1443 | program->set_direct_update_handler(direct_update_delegate(FUNC(abc800c_state::abc800c_direct_update_handler), state)); |
| 1445 | 1444 | } |
| 1446 | 1445 | |
| 1447 | 1446 | |
| r14957 | r14958 | |
| 1449 | 1448 | // DRIVER_INIT( abc800m ) |
| 1450 | 1449 | //------------------------------------------------- |
| 1451 | 1450 | |
| 1452 | | DIRECT_UPDATE_HANDLER( abc800m_direct_update_handler ) |
| 1451 | DIRECT_UPDATE_MEMBER(abc800m_state::abc800m_direct_update_handler) |
| 1453 | 1452 | { |
| 1454 | | abc800_state *state = machine.driver_data<abc800_state>(); |
| 1455 | | |
| 1456 | 1453 | if (address >= 0x7800 && address < 0x8000) |
| 1457 | 1454 | { |
| 1458 | | direct.explicit_configure(0x7800, 0x7fff, 0x7ff, machine.region(Z80_TAG)->base() + 0x7800); |
| 1455 | direct.explicit_configure(0x7800, 0x7fff, 0x7ff, machine().region(Z80_TAG)->base() + 0x7800); |
| 1459 | 1456 | |
| 1460 | | if (!state->m_fetch_charram) |
| 1457 | if (!m_fetch_charram) |
| 1461 | 1458 | { |
| 1462 | | state->m_fetch_charram = 1; |
| 1463 | | state->bankswitch(); |
| 1459 | m_fetch_charram = 1; |
| 1460 | bankswitch(); |
| 1464 | 1461 | } |
| 1465 | 1462 | |
| 1466 | 1463 | return ~0; |
| 1467 | 1464 | } |
| 1468 | 1465 | |
| 1469 | | if (state->m_fetch_charram) |
| 1466 | if (m_fetch_charram) |
| 1470 | 1467 | { |
| 1471 | | state->m_fetch_charram = 0; |
| 1472 | | state->bankswitch(); |
| 1468 | m_fetch_charram = 0; |
| 1469 | bankswitch(); |
| 1473 | 1470 | } |
| 1474 | 1471 | |
| 1475 | 1472 | return address; |
| r14957 | r14958 | |
| 1477 | 1474 | |
| 1478 | 1475 | static DRIVER_INIT( abc800m ) |
| 1479 | 1476 | { |
| 1477 | abc800m_state *state = machine.driver_data<abc800m_state>(); |
| 1480 | 1478 | address_space *program = machine.device<cpu_device>(Z80_TAG)->space(AS_PROGRAM); |
| 1481 | | program->set_direct_update_handler(direct_update_delegate(FUNC(abc800m_direct_update_handler), &machine)); |
| 1479 | program->set_direct_update_handler(direct_update_delegate(FUNC(abc800m_state::abc800m_direct_update_handler), state)); |
| 1482 | 1480 | } |
| 1483 | 1481 | |
| 1484 | 1482 | |
| r14957 | r14958 | |
| 1486 | 1484 | // DRIVER_INIT( abc802 ) |
| 1487 | 1485 | //------------------------------------------------- |
| 1488 | 1486 | |
| 1489 | | DIRECT_UPDATE_HANDLER( abc802_direct_update_handler ) |
| 1487 | DIRECT_UPDATE_MEMBER(abc802_state::abc802_direct_update_handler) |
| 1490 | 1488 | { |
| 1491 | | abc802_state *state = machine.driver_data<abc802_state>(); |
| 1492 | | |
| 1493 | | if (state->m_lrs) |
| 1489 | if (m_lrs) |
| 1494 | 1490 | { |
| 1495 | 1491 | if (address >= 0x7800 && address < 0x8000) |
| 1496 | 1492 | { |
| 1497 | | direct.explicit_configure(0x7800, 0x7fff, 0x7ff, machine.region(Z80_TAG)->base() + 0x7800); |
| 1493 | direct.explicit_configure(0x7800, 0x7fff, 0x7ff, machine().region(Z80_TAG)->base() + 0x7800); |
| 1498 | 1494 | return ~0; |
| 1499 | 1495 | } |
| 1500 | 1496 | } |
| r14957 | r14958 | |
| 1504 | 1500 | |
| 1505 | 1501 | static DRIVER_INIT( abc802 ) |
| 1506 | 1502 | { |
| 1503 | abc802_state *state = machine.driver_data<abc802_state>(); |
| 1507 | 1504 | address_space *program = machine.device<cpu_device>(Z80_TAG)->space(AS_PROGRAM); |
| 1508 | | program->set_direct_update_handler(direct_update_delegate(FUNC(abc802_direct_update_handler), &machine)); |
| 1505 | program->set_direct_update_handler(direct_update_delegate(FUNC(abc802_state::abc802_direct_update_handler), state)); |
| 1509 | 1506 | } |
| 1510 | 1507 | |
| 1511 | 1508 | |
| r14957 | r14958 | |
| 1513 | 1510 | // DRIVER_INIT( abc806 ) |
| 1514 | 1511 | //------------------------------------------------- |
| 1515 | 1512 | |
| 1516 | | DIRECT_UPDATE_HANDLER( abc806_direct_update_handler ) |
| 1517 | | { |
| 1518 | | abc806_state *state = machine.driver_data<abc806_state>(); |
| 1519 | | |
| 1513 | DIRECT_UPDATE_MEMBER(abc806_state::abc806_direct_update_handler) |
| 1514 | { |
| 1520 | 1515 | if (address >= 0x7800 && address < 0x8000) |
| 1521 | 1516 | { |
| 1522 | | direct.explicit_configure(0x7800, 0x7fff, 0x7ff, machine.region(Z80_TAG)->base() + 0x7800); |
| 1517 | direct.explicit_configure(0x7800, 0x7fff, 0x7ff, machine().region(Z80_TAG)->base() + 0x7800); |
| 1523 | 1518 | |
| 1524 | | if (!state->m_fetch_charram) |
| 1519 | if (!m_fetch_charram) |
| 1525 | 1520 | { |
| 1526 | | state->m_fetch_charram = 1; |
| 1527 | | state->bankswitch(); |
| 1521 | m_fetch_charram = 1; |
| 1522 | bankswitch(); |
| 1528 | 1523 | } |
| 1529 | 1524 | |
| 1530 | 1525 | return ~0; |
| 1531 | 1526 | } |
| 1532 | 1527 | |
| 1533 | | if (state->m_fetch_charram) |
| 1528 | if (m_fetch_charram) |
| 1534 | 1529 | { |
| 1535 | | state->m_fetch_charram = 0; |
| 1536 | | state->bankswitch(); |
| 1530 | m_fetch_charram = 0; |
| 1531 | bankswitch(); |
| 1537 | 1532 | } |
| 1538 | 1533 | |
| 1539 | 1534 | return address; |
| r14957 | r14958 | |
| 1541 | 1536 | |
| 1542 | 1537 | static DRIVER_INIT( abc806 ) |
| 1543 | 1538 | { |
| 1539 | abc806_state *state = machine.driver_data<abc806_state>(); |
| 1544 | 1540 | address_space *program = machine.device<cpu_device>(Z80_TAG)->space(AS_PROGRAM); |
| 1545 | | program->set_direct_update_handler(direct_update_delegate(FUNC(abc806_direct_update_handler), &machine)); |
| 1541 | program->set_direct_update_handler(direct_update_delegate(FUNC(abc806_state::abc806_direct_update_handler), state)); |
| 1546 | 1542 | } |
| 1547 | 1543 | |
| 1548 | 1544 | |
src/mess/drivers/atm.c
| r14957 | r14958 | |
| 28 | 28 | : spectrum_state(mconfig, type, tag) { } |
| 29 | 29 | |
| 30 | 30 | DECLARE_WRITE8_MEMBER(atm_port_7ffd_w); |
| 31 | DIRECT_UPDATE_MEMBER(atm_direct); |
| 31 | 32 | }; |
| 32 | 33 | |
| 33 | 34 | |
| 34 | | DIRECT_UPDATE_HANDLER( atm_direct ) |
| 35 | DIRECT_UPDATE_MEMBER(atm_state::atm_direct) |
| 35 | 36 | { |
| 36 | | spectrum_state *state = machine.driver_data<spectrum_state>(); |
| 37 | | device_t *beta = machine.device(BETA_DISK_TAG); |
| 38 | | UINT16 pc = cpu_get_reg(machine.device("maincpu"), STATE_GENPCBASE); |
| 37 | device_t *beta = machine().device(BETA_DISK_TAG); |
| 38 | UINT16 pc = cpu_get_reg(machine().device("maincpu"), STATE_GENPCBASE); |
| 39 | 39 | |
| 40 | 40 | if (beta->started() && betadisk_is_active(beta)) |
| 41 | 41 | { |
| 42 | 42 | if (pc >= 0x4000) |
| 43 | 43 | { |
| 44 | | state->m_ROMSelection = ((state->m_port_7ffd_data>>4) & 0x01) ? 1 : 0; |
| 44 | m_ROMSelection = ((m_port_7ffd_data>>4) & 0x01) ? 1 : 0; |
| 45 | 45 | betadisk_disable(beta); |
| 46 | | memory_set_bankptr(machine, "bank1", machine.region("maincpu")->base() + 0x010000 + (state->m_ROMSelection<<14)); |
| 46 | memory_set_bankptr(machine(), "bank1", machine().region("maincpu")->base() + 0x010000 + (m_ROMSelection<<14)); |
| 47 | 47 | } |
| 48 | 48 | } |
| 49 | | else if (((pc & 0xff00) == 0x3d00) && (state->m_ROMSelection==1)) |
| 49 | else if (((pc & 0xff00) == 0x3d00) && (m_ROMSelection==1)) |
| 50 | 50 | { |
| 51 | | state->m_ROMSelection = 3; |
| 51 | m_ROMSelection = 3; |
| 52 | 52 | if (beta->started()) |
| 53 | 53 | betadisk_enable(beta); |
| 54 | 54 | |
| 55 | 55 | } |
| 56 | 56 | if(address<=0x3fff) |
| 57 | 57 | { |
| 58 | | if (state->m_ROMSelection == 3) { |
| 59 | | direct.explicit_configure(0x0000, 0x3fff, 0x3fff, machine.region("maincpu")->base() + 0x018000); |
| 60 | | memory_set_bankptr(machine, "bank1", machine.region("maincpu")->base() + 0x018000); |
| 58 | if (m_ROMSelection == 3) { |
| 59 | direct.explicit_configure(0x0000, 0x3fff, 0x3fff, machine().region("maincpu")->base() + 0x018000); |
| 60 | memory_set_bankptr(machine(), "bank1", machine().region("maincpu")->base() + 0x018000); |
| 61 | 61 | } else { |
| 62 | | direct.explicit_configure(0x0000, 0x3fff, 0x3fff, machine.region("maincpu")->base() + 0x010000 + (state->m_ROMSelection<<14)); |
| 63 | | memory_set_bankptr(machine, "bank1", machine.region("maincpu")->base() + 0x010000 + (state->m_ROMSelection<<14)); |
| 62 | direct.explicit_configure(0x0000, 0x3fff, 0x3fff, machine().region("maincpu")->base() + 0x010000 + (m_ROMSelection<<14)); |
| 63 | memory_set_bankptr(machine(), "bank1", machine().region("maincpu")->base() + 0x010000 + (m_ROMSelection<<14)); |
| 64 | 64 | } |
| 65 | 65 | return ~0; |
| 66 | 66 | } |
| r14957 | r14958 | |
| 118 | 118 | |
| 119 | 119 | static MACHINE_RESET( atm ) |
| 120 | 120 | { |
| 121 | | spectrum_state *state = machine.driver_data<spectrum_state>(); |
| 121 | atm_state *state = machine.driver_data<atm_state>(); |
| 122 | 122 | UINT8 *messram = machine.device<ram_device>(RAM_TAG)->pointer(); |
| 123 | 123 | address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM); |
| 124 | 124 | device_t *beta = machine.device(BETA_DISK_TAG); |
| r14957 | r14958 | |
| 130 | 130 | betadisk_enable(beta); |
| 131 | 131 | betadisk_clear_status(beta); |
| 132 | 132 | } |
| 133 | | space->set_direct_update_handler(direct_update_delegate(FUNC(atm_direct), &machine)); |
| 133 | space->set_direct_update_handler(direct_update_delegate(FUNC(atm_state::atm_direct), state)); |
| 134 | 134 | |
| 135 | 135 | memset(messram,0,128*1024); |
| 136 | 136 | |
src/mess/drivers/elwro800.c
| r14957 | r14958 | |
| 44 | 44 | /* NR signal */ |
| 45 | 45 | UINT8 m_NR; |
| 46 | 46 | UINT8 m_df_on_databus; |
| 47 | |
| 48 | DECLARE_DIRECT_UPDATE_MEMBER(elwro800_direct_handler); |
| 47 | 49 | }; |
| 48 | 50 | |
| 49 | 51 | |
| r14957 | r14958 | |
| 54 | 56 | * (note that in CP/J mode address 66 is used for FCB) |
| 55 | 57 | * |
| 56 | 58 | *************************************/ |
| 57 | | DIRECT_UPDATE_HANDLER(elwro800_direct_handler) |
| 59 | DIRECT_UPDATE_MEMBER(elwro800_state::elwro800_direct_handler) |
| 58 | 60 | { |
| 59 | | elwro800_state *state = machine.driver_data<elwro800_state>(); |
| 60 | | if (state->m_ram_at_0000 && address == 0x66) |
| 61 | if (m_ram_at_0000 && address == 0x66) |
| 61 | 62 | { |
| 62 | | direct.explicit_configure(0x66, 0x66, 0, &state->m_df_on_databus); |
| 63 | direct.explicit_configure(0x66, 0x66, 0, &m_df_on_databus); |
| 63 | 64 | return ~0; |
| 64 | 65 | } |
| 65 | 66 | return address; |
| r14957 | r14958 | |
| 520 | 521 | // this is a reset of ls175 in mmu |
| 521 | 522 | elwro800jr_mmu_w(machine, 0); |
| 522 | 523 | |
| 523 | | machine.device("maincpu")->memory().space(AS_PROGRAM)->set_direct_update_handler(direct_update_delegate(FUNC(elwro800_direct_handler), &machine)); |
| 524 | machine.device("maincpu")->memory().space(AS_PROGRAM)->set_direct_update_handler(direct_update_delegate(FUNC(elwro800_state::elwro800_direct_handler), state)); |
| 524 | 525 | } |
| 525 | 526 | |
| 526 | 527 | static const cassette_interface elwro800jr_cassette_interface = |
src/mess/drivers/mpz80.c
| r14957 | r14958 | |
| 828 | 828 | // DRIVER_INIT( mpz80 ) |
| 829 | 829 | //------------------------------------------------- |
| 830 | 830 | |
| 831 | | DIRECT_UPDATE_HANDLER( mpz80_direct_update_handler ) |
| 831 | DIRECT_UPDATE_MEMBER(mpz80_state::mpz80_direct_update_handler) |
| 832 | 832 | { |
| 833 | | mpz80_state *state = machine.driver_data<mpz80_state>(); |
| 834 | | |
| 835 | | if (state->m_trap && address >= state->m_trap_start && address <= state->m_trap_start + 0xf) |
| 833 | if (m_trap && address >= m_trap_start && address <= m_trap_start + 0xf) |
| 836 | 834 | { |
| 837 | | direct.explicit_configure(state->m_trap_start, state->m_trap_start + 0xf, 0xf, machine.region(Z80_TAG)->base() + ((state->m_trap_reset << 10) | 0x3f0)); |
| 835 | direct.explicit_configure(m_trap_start, m_trap_start + 0xf, 0xf, machine().region(Z80_TAG)->base() + ((m_trap_reset << 10) | 0x3f0)); |
| 838 | 836 | return ~0; |
| 839 | 837 | } |
| 840 | 838 | |
| r14957 | r14958 | |
| 843 | 841 | |
| 844 | 842 | static DRIVER_INIT( mpz80 ) |
| 845 | 843 | { |
| 844 | mpz80_state *state = machine.driver_data<mpz80_state>(); |
| 846 | 845 | address_space *program = machine.device<cpu_device>(Z80_TAG)->space(AS_PROGRAM); |
| 847 | | program->set_direct_update_handler(direct_update_delegate(FUNC(mpz80_direct_update_handler), &machine)); |
| 846 | program->set_direct_update_handler(direct_update_delegate(FUNC(mpz80_state::mpz80_direct_update_handler), state)); |
| 848 | 847 | } |
| 849 | 848 | |
| 850 | 849 | |
src/mess/drivers/cosmicos.c
| r14957 | r14958 | |
| 610 | 610 | |
| 611 | 611 | /* System Drivers */ |
| 612 | 612 | |
| 613 | | DIRECT_UPDATE_HANDLER( cosmicos_direct_update_handler ) |
| 613 | DIRECT_UPDATE_MEMBER(cosmicos_state::cosmicos_direct_update_handler) |
| 614 | 614 | { |
| 615 | | cosmicos_state *state = machine.driver_data<cosmicos_state>(); |
| 616 | | |
| 617 | | if (state->m_boot) |
| 615 | if (m_boot) |
| 618 | 616 | { |
| 619 | 617 | /* force A6 and A7 high */ |
| 620 | | direct.explicit_configure(0x0000, 0xffff, 0x3f3f, machine.region(CDP1802_TAG)->base() + 0xc0); |
| 618 | direct.explicit_configure(0x0000, 0xffff, 0x3f3f, machine().region(CDP1802_TAG)->base() + 0xc0); |
| 621 | 619 | return ~0; |
| 622 | 620 | } |
| 623 | 621 | |
| r14957 | r14958 | |
| 626 | 624 | |
| 627 | 625 | static DRIVER_INIT( cosmicos ) |
| 628 | 626 | { |
| 627 | cosmicos_state *state = machine.driver_data<cosmicos_state>(); |
| 629 | 628 | address_space *program = machine.device(CDP1802_TAG)->memory().space(AS_PROGRAM); |
| 630 | 629 | |
| 631 | | program->set_direct_update_handler(direct_update_delegate(FUNC(cosmicos_direct_update_handler), &machine)); |
| 630 | program->set_direct_update_handler(direct_update_delegate(FUNC(cosmicos_state::cosmicos_direct_update_handler), state)); |
| 632 | 631 | } |
| 633 | 632 | |
| 634 | 633 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ |
src/mess/drivers/gba.c
| r14957 | r14958 | |
| 3215 | 3215 | |
| 3216 | 3216 | /* this emulates the GBA's hardware protection: the BIOS returns only zeros when the PC is not in it, |
| 3217 | 3217 | and some games verify that as a protection check (notably Metroid Fusion) */ |
| 3218 | | DIRECT_UPDATE_HANDLER( gba_direct ) |
| 3218 | DIRECT_UPDATE_MEMBER(gba_state::gba_direct) |
| 3219 | 3219 | { |
| 3220 | | gba_state *state = machine.driver_data<gba_state>(); |
| 3221 | 3220 | if (address > 0x4000) |
| 3222 | 3221 | { |
| 3223 | | state->m_bios_protected = 1; |
| 3222 | m_bios_protected = 1; |
| 3224 | 3223 | } |
| 3225 | 3224 | else |
| 3226 | 3225 | { |
| 3227 | | state->m_bios_protected = 0; |
| 3228 | | state->m_bios_last_address = address; |
| 3226 | m_bios_protected = 0; |
| 3227 | m_bios_last_address = address; |
| 3229 | 3228 | } |
| 3230 | 3229 | return address; |
| 3231 | 3230 | } |
| 3232 | 3231 | |
| 3233 | 3232 | static DRIVER_INIT(gbadv) |
| 3234 | 3233 | { |
| 3235 | | machine.device("maincpu")->memory().space(AS_PROGRAM)->set_direct_update_handler(direct_update_delegate(FUNC(gba_direct), &machine)); |
| 3234 | gba_state *state = machine.driver_data<gba_state>(); |
| 3235 | machine.device("maincpu")->memory().space(AS_PROGRAM)->set_direct_update_handler(direct_update_delegate(FUNC(gba_state::gba_direct), state)); |
| 3236 | 3236 | } |
| 3237 | 3237 | |
| 3238 | 3238 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */ |