mirror of
https://github.com/holub/mame
synced 2025-05-01 20:27:02 +03:00
-unsp: Fixed Multiply Signed*Signed opcode in DRC. Fixes controls in jak_pooh. [Ryan Holtz]
This commit is contained in:
parent
b5206d3f5d
commit
abdb30d874
@ -226,6 +226,8 @@ void unsp_device::log_regs()
|
|||||||
|
|
||||||
void unsp_device::log_write(uint32_t addr, uint32_t data)
|
void unsp_device::log_write(uint32_t addr, uint32_t data)
|
||||||
{
|
{
|
||||||
|
if (m_log_ops == 0)
|
||||||
|
return;
|
||||||
addr |= 0x80000000;
|
addr |= 0x80000000;
|
||||||
fwrite(&addr, sizeof(uint32_t), 1, m_log_file);
|
fwrite(&addr, sizeof(uint32_t), 1, m_log_file);
|
||||||
fwrite(&data, sizeof(uint32_t), 1, m_log_file);
|
fwrite(&data, sizeof(uint32_t), 1, m_log_file);
|
||||||
|
@ -943,14 +943,14 @@ bool unsp_device::generate_opcode(drcuml_block &block, compiler_state &compiler,
|
|||||||
|
|
||||||
UML_TEST(block, I1, 0x00008000);
|
UML_TEST(block, I1, 0x00008000);
|
||||||
UML_JMPc(block, uml::COND_Z, mul_opb_nohi);
|
UML_JMPc(block, uml::COND_Z, mul_opb_nohi);
|
||||||
UML_SHL(block, I0, I0, 16);
|
UML_SHL(block, I3, I0, 16);
|
||||||
UML_SUB(block, I2, I2, I0);
|
UML_SUB(block, I2, I2, I3);
|
||||||
|
|
||||||
UML_LABEL(block, mul_opb_nohi);
|
UML_LABEL(block, mul_opb_nohi);
|
||||||
UML_TEST(block, I0, 0x00008000);
|
UML_TEST(block, I0, 0x00008000);
|
||||||
UML_JMPc(block, uml::COND_Z, mul_opa_nohi);
|
UML_JMPc(block, uml::COND_Z, mul_opa_nohi);
|
||||||
UML_SHL(block, I1, I1, 16);
|
UML_SHL(block, I3, I1, 16);
|
||||||
UML_SUB(block, I2, I2, I1);
|
UML_SUB(block, I2, I2, I3);
|
||||||
|
|
||||||
UML_LABEL(block, mul_opa_nohi);
|
UML_LABEL(block, mul_opa_nohi);
|
||||||
UML_SHR(block, mem(&m_core->m_r[REG_R4]), I2, 16);
|
UML_SHR(block, mem(&m_core->m_r[REG_R4]), I2, 16);
|
||||||
|
@ -100,12 +100,11 @@
|
|||||||
jak_wall, jak_sdoo:
|
jak_wall, jak_sdoo:
|
||||||
Game seems unhappy with NVRAM, clears contents on each boot.
|
Game seems unhappy with NVRAM, clears contents on each boot.
|
||||||
jak_pooh:
|
jak_pooh:
|
||||||
In the 'Light Tag' minigame (select the rock) you can't move left with the DRC (ok with -nodrc)
|
In the 'Light Tag' minigame (select the rock) the game usually softlocks when you find a friend (with or without DRC)
|
||||||
and the game usually softlocks when you find a friend (with or without DRC)
|
|
||||||
jak_disf:
|
jak_disf:
|
||||||
shows corrupt logo on first boot with no valid nvram (possibly hardware does too, or layer disable?)
|
Shows corrupt logo on first boot with no valid nvram (possibly hardware does too, or layer disable?)
|
||||||
jak_nick:
|
jak_nick:
|
||||||
channel chasers (first game) title screen background should be blue, not the current pattern (possible layer disable?)
|
Channel chasers (first game) title screen background should be blue, not the current pattern (possible layer disable?)
|
||||||
|
|
||||||
vii:
|
vii:
|
||||||
When loading a cart from file manager, sometimes MAME will crash.
|
When loading a cart from file manager, sometimes MAME will crash.
|
||||||
@ -122,7 +121,7 @@
|
|||||||
Justice League : press UP, DOWN, LEFT, BT3 on the JAKKS logo in that order, quickly, to get test menu
|
Justice League : press UP, DOWN, LEFT, BT3 on the JAKKS logo in that order, quickly, to get test menu
|
||||||
WWE : press UP, BT1, BT2 together during startup logos
|
WWE : press UP, BT1, BT2 together during startup logos
|
||||||
|
|
||||||
Disney Friends, MS Pacman, WallE, Batman (and some other HotGen GameKKeys) for test mode, hold UP,
|
Disney Friends, MS Pacman, WallE, Batman (and some other HotGen GameKeys) for test mode, hold UP,
|
||||||
press A, press DOWN during startup
|
press A, press DOWN during startup
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
|
Loading…
Reference in New Issue
Block a user