mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +03:00
added undocumented opcode that behaves like DPCL [smf]
This commit is contained in:
parent
723dae9770
commit
0871d50819
@ -492,7 +492,7 @@ int gte::docop2( UINT32 pc, int gteop )
|
|||||||
|
|
||||||
switch( GTE_FUNCT( gteop ) )
|
switch( GTE_FUNCT( gteop ) )
|
||||||
{
|
{
|
||||||
case 0x00:
|
case 0x00: // drop through to RTPS
|
||||||
case 0x01:
|
case 0x01:
|
||||||
GTELOG( pc, "%08x RTPS", gteop );
|
GTELOG( pc, "%08x RTPS", gteop );
|
||||||
|
|
||||||
@ -792,6 +792,7 @@ int gte::docop2( UINT32 pc, int gteop )
|
|||||||
IR3 = Lm_B3( MAC3, lm );
|
IR3 = Lm_B3( MAC3, lm );
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
case 0x1a: // end of NCDT
|
||||||
case 0x29:
|
case 0x29:
|
||||||
GTELOG( pc, "%08x DPCL", gteop );
|
GTELOG( pc, "%08x DPCL", gteop );
|
||||||
|
|
||||||
|
@ -497,7 +497,7 @@ unsigned DasmPSXCPU( DasmPSXCPU_state *state, char *buffer, UINT32 pc, const UIN
|
|||||||
|
|
||||||
switch( GTE_FUNCT( op ) )
|
switch( GTE_FUNCT( op ) )
|
||||||
{
|
{
|
||||||
case 0x00:
|
case 0x00: // drop through to RTPS
|
||||||
case 0x01:
|
case 0x01:
|
||||||
sprintf( buffer, "rtps%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
|
sprintf( buffer, "rtps%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
|
||||||
break;
|
break;
|
||||||
@ -541,6 +541,7 @@ unsigned DasmPSXCPU( DasmPSXCPU_state *state, char *buffer, UINT32 pc, const UIN
|
|||||||
case 0x28:
|
case 0x28:
|
||||||
sprintf( buffer, "sqr%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
|
sprintf( buffer, "sqr%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
|
||||||
break;
|
break;
|
||||||
|
case 0x1a: // end of NCDT
|
||||||
case 0x29:
|
case 0x29:
|
||||||
sprintf( buffer, "dpcl%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
|
sprintf( buffer, "dpcl%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user