Used a new opcode, from VF2

This commit is contained in:
Angelo Salese 2014-04-16 22:38:15 +00:00
parent 68d1d68e7f
commit 45064aeeef
2 changed files with 10 additions and 2 deletions

View File

@ -1001,6 +1001,11 @@ void mb86233_cpu_device::execute_run()
switch( op )
{
case 0x04: // ?
GETA().u = GETARAM()[r1];
GETB().u = GETEXTERNAL( GETEB(),r2);
break;
case 0x0C:
GETA().u = GETARAM()[r1];
GETB().u = GETBRAM()[r2];

View File

@ -1619,11 +1619,13 @@ static ADDRESS_MAP_START( model2a_crx_mem, AS_PROGRAM, 32, model2_state )
AM_RANGE(0x01c00000, 0x01c00003) AM_READ_PORT("1c00000") AM_WRITE(ctrl0_w )
AM_RANGE(0x01c00004, 0x01c00007) AM_READ_PORT("1c00004")
AM_RANGE(0x01c00008, 0x01c0000f) AM_READNOP AM_WRITENOP
AM_RANGE(0x01c0000c, 0x01c0000f) AM_READ_PORT("1c0000c")
AM_RANGE(0x01c00010, 0x01c00013) AM_READ_PORT("1c00010")
AM_RANGE(0x01c00014, 0x01c00017) AM_READ_PORT("1c00014")
AM_RANGE(0x01c00010, 0x01c00013) AM_READ_PORT("1c00010") AM_WRITENOP
AM_RANGE(0x01c00014, 0x01c00017) AM_READ_PORT("1c00014") AM_WRITENOP
AM_RANGE(0x01c00018, 0x01c0001b) AM_READ(hotd_unk_r )
AM_RANGE(0x01c0001c, 0x01c0001f) AM_READ_PORT("1c0001c") AM_WRITE(analog_2b_w )
AM_RANGE(0x01c00040, 0x01c00043) AM_WRITENOP
AM_RANGE(0x01c80000, 0x01c80003) AM_READWRITE(model2_serial_r, model2_serial_w )
AM_IMPORT_FROM(model2_base_mem)
@ -1661,6 +1663,7 @@ static ADDRESS_MAP_START( model2b_crx_mem, AS_PROGRAM, 32, model2_state )
AM_RANGE(0x01c00014, 0x01c00017) AM_READ_PORT("1c00014")
AM_RANGE(0x01c00018, 0x01c0001b) AM_READ(hotd_unk_r )
AM_RANGE(0x01c0001c, 0x01c0001f) AM_READ_PORT("1c0001c") AM_WRITE(analog_2b_w )
AM_RANGE(0x01c00040, 0x01c00043) AM_WRITENOP
AM_RANGE(0x01c80000, 0x01c80003) AM_READWRITE(model2_serial_r, model2_serial_w )
AM_IMPORT_FROM(model2_base_mem)