mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
upd7725: Fix disassembly
This commit is contained in:
parent
4d480c7aca
commit
5e44326248
@ -19,7 +19,7 @@ u32 necdsp_disassembler::opcode_alignment() const
|
||||
|
||||
offs_t necdsp_disassembler::disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms)
|
||||
{
|
||||
uint32_t opcode = opcodes.r32(pc);
|
||||
uint32_t opcode = opcodes.r32(pc) >> 8;
|
||||
uint32_t type = (opcode >> 22);
|
||||
|
||||
// printf("dasm: PC %x opcode %08x\n", pc, opcode);
|
||||
|
@ -3148,8 +3148,8 @@ ROM_START( drifto94 )
|
||||
|
||||
ROM_REGION( 0x11000, "st010", 0)
|
||||
ROM_LOAD( "st010.bin", 0x000000, 0x011000, CRC(aa11ee2d) SHA1(cc1984e989cb94e3dcbb5f99e085b5414e18a017) )
|
||||
ROM_REGION( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_REGION32_BE( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION16_BE( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_END
|
||||
|
||||
|
||||
@ -4337,8 +4337,8 @@ ROM_START( stmblade )
|
||||
|
||||
ROM_REGION( 0x11000, "st010", 0)
|
||||
ROM_LOAD( "st010.bin", 0x000000, 0x011000, CRC(aa11ee2d) SHA1(cc1984e989cb94e3dcbb5f99e085b5414e18a017) )
|
||||
ROM_REGION( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_REGION32_BE( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION16_BE( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_END
|
||||
|
||||
ROM_START( stmbladej )
|
||||
@ -4366,8 +4366,8 @@ ROM_START( stmbladej )
|
||||
|
||||
ROM_REGION( 0x11000, "st010", 0)
|
||||
ROM_LOAD( "st010.bin", 0x000000, 0x011000, CRC(aa11ee2d) SHA1(cc1984e989cb94e3dcbb5f99e085b5414e18a017) )
|
||||
ROM_REGION( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_REGION32_BE( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION16_BE( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_END
|
||||
|
||||
|
||||
@ -4441,8 +4441,8 @@ ROM_START( twineag2 )
|
||||
|
||||
ROM_REGION( 0x11000, "st010", 0)
|
||||
ROM_LOAD( "st010.bin", 0x000000, 0x011000, CRC(aa11ee2d) SHA1(cc1984e989cb94e3dcbb5f99e085b5414e18a017) )
|
||||
ROM_REGION( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_REGION32_BE( 0x10000, "dspprg", ROMREGION_ERASEFF)
|
||||
ROM_REGION16_BE( 0x1000, "dspdata", ROMREGION_ERASEFF)
|
||||
ROM_END
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user