mirror of
https://github.com/holub/mame
synced 2025-10-08 17:37:56 +03:00
TMS3203x: RTPS should be RPTS -nw-
This commit is contained in:
parent
4adc7dee30
commit
ba4920a71b
@ -2689,7 +2689,7 @@ void tms3203x_device::rorc(uint32_t op)
|
|||||||
|
|
||||||
/*-----------------------------------------------------*/
|
/*-----------------------------------------------------*/
|
||||||
|
|
||||||
void tms3203x_device::rtps_reg(uint32_t op)
|
void tms3203x_device::rpts_reg(uint32_t op)
|
||||||
{
|
{
|
||||||
IREG(TMR_RC) = IREG(op & 31);
|
IREG(TMR_RC) = IREG(op & 31);
|
||||||
IREG(TMR_RS) = m_pc;
|
IREG(TMR_RS) = m_pc;
|
||||||
@ -2699,7 +2699,7 @@ void tms3203x_device::rtps_reg(uint32_t op)
|
|||||||
m_delayed = true;
|
m_delayed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void tms3203x_device::rtps_dir(uint32_t op)
|
void tms3203x_device::rpts_dir(uint32_t op)
|
||||||
{
|
{
|
||||||
IREG(TMR_RC) = RMEM(DIRECT(op));
|
IREG(TMR_RC) = RMEM(DIRECT(op));
|
||||||
IREG(TMR_RS) = m_pc;
|
IREG(TMR_RS) = m_pc;
|
||||||
@ -2709,7 +2709,7 @@ void tms3203x_device::rtps_dir(uint32_t op)
|
|||||||
m_delayed = true;
|
m_delayed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void tms3203x_device::rtps_ind(uint32_t op)
|
void tms3203x_device::rpts_ind(uint32_t op)
|
||||||
{
|
{
|
||||||
IREG(TMR_RC) = RMEM(INDIRECT_D(op, op >> 8));
|
IREG(TMR_RC) = RMEM(INDIRECT_D(op, op >> 8));
|
||||||
IREG(TMR_RS) = m_pc;
|
IREG(TMR_RS) = m_pc;
|
||||||
@ -2719,7 +2719,7 @@ void tms3203x_device::rtps_ind(uint32_t op)
|
|||||||
m_delayed = true;
|
m_delayed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void tms3203x_device::rtps_imm(uint32_t op)
|
void tms3203x_device::rpts_imm(uint32_t op)
|
||||||
{
|
{
|
||||||
IREG(TMR_RC) = (uint16_t)op;
|
IREG(TMR_RC) = (uint16_t)op;
|
||||||
IREG(TMR_RS) = m_pc;
|
IREG(TMR_RS) = m_pc;
|
||||||
@ -6407,7 +6407,7 @@ void (tms3203x_device::*const tms3203x_device::s_tms32031ops[])(uint32_t op) =
|
|||||||
&tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::rolc,
|
&tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::rolc,
|
||||||
&tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::ror,
|
&tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::ror,
|
||||||
&tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::rorc,
|
&tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::illegal, &tms3203x_device::rorc,
|
||||||
&tms3203x_device::rtps_reg, &tms3203x_device::rtps_dir, &tms3203x_device::rtps_ind, &tms3203x_device::rtps_imm,
|
&tms3203x_device::rpts_reg, &tms3203x_device::rpts_dir, &tms3203x_device::rpts_ind, &tms3203x_device::rpts_imm,
|
||||||
&tms3203x_device::illegal, &tms3203x_device::stf_dir, &tms3203x_device::stf_ind, &tms3203x_device::illegal, // 0x28
|
&tms3203x_device::illegal, &tms3203x_device::stf_dir, &tms3203x_device::stf_ind, &tms3203x_device::illegal, // 0x28
|
||||||
&tms3203x_device::illegal, &tms3203x_device::stfi_dir, &tms3203x_device::stfi_ind, &tms3203x_device::illegal,
|
&tms3203x_device::illegal, &tms3203x_device::stfi_dir, &tms3203x_device::stfi_ind, &tms3203x_device::illegal,
|
||||||
&tms3203x_device::illegal, &tms3203x_device::sti_dir, &tms3203x_device::sti_ind, &tms3203x_device::illegal,
|
&tms3203x_device::illegal, &tms3203x_device::sti_dir, &tms3203x_device::sti_ind, &tms3203x_device::illegal,
|
||||||
|
@ -413,7 +413,7 @@ static unsigned dasm_tms3203x(std::ostream &stream, unsigned pc, uint32_t op)
|
|||||||
case 0x024: disasm_general("ROLC", op, INTEGER, stream); break;
|
case 0x024: disasm_general("ROLC", op, INTEGER, stream); break;
|
||||||
case 0x025: disasm_general("ROR", op, INTEGER, stream); break;
|
case 0x025: disasm_general("ROR", op, INTEGER, stream); break;
|
||||||
case 0x026: disasm_general("RORC", op, INTEGER, stream); break;
|
case 0x026: disasm_general("RORC", op, INTEGER, stream); break;
|
||||||
case 0x027: disasm_general("RTPS", op, INTEGER | NODEST, stream); break;
|
case 0x027: disasm_general("RPTS", op, INTEGER | NODEST, stream); break;
|
||||||
|
|
||||||
case 0x028: disasm_general("STF", op, FLOAT | SWAPSRCDST, stream); break;
|
case 0x028: disasm_general("STF", op, FLOAT | SWAPSRCDST, stream); break;
|
||||||
case 0x029: disasm_general("STFI", op, FLOAT | SWAPSRCDST, stream); break;
|
case 0x029: disasm_general("STFI", op, FLOAT | SWAPSRCDST, stream); break;
|
||||||
|
@ -401,10 +401,10 @@ protected:
|
|||||||
void rolc(uint32_t op);
|
void rolc(uint32_t op);
|
||||||
void ror(uint32_t op);
|
void ror(uint32_t op);
|
||||||
void rorc(uint32_t op);
|
void rorc(uint32_t op);
|
||||||
void rtps_reg(uint32_t op);
|
void rpts_reg(uint32_t op);
|
||||||
void rtps_dir(uint32_t op);
|
void rpts_dir(uint32_t op);
|
||||||
void rtps_ind(uint32_t op);
|
void rpts_ind(uint32_t op);
|
||||||
void rtps_imm(uint32_t op);
|
void rpts_imm(uint32_t op);
|
||||||
void stf_dir(uint32_t op);
|
void stf_dir(uint32_t op);
|
||||||
void stf_ind(uint32_t op);
|
void stf_ind(uint32_t op);
|
||||||
void stfi_dir(uint32_t op);
|
void stfi_dir(uint32_t op);
|
||||||
|
Loading…
Reference in New Issue
Block a user