Add missing lab mode used by vf2 in-game (nw)

This commit is contained in:
Olivier Galibert 2018-04-05 17:47:06 +02:00
parent be47bca506
commit feb1a4297b
2 changed files with 5 additions and 4 deletions

View File

@ -727,7 +727,7 @@ void mb86233_device::execute_run()
alu_pre(alu);
switch(op) {
case 0: {
case 0: case 1: {
// lab mem, mem (e)
u32 ea1 = ea_pre_0(r1);
@ -785,7 +785,8 @@ void mb86233_device::execute_run()
}
default:
logerror("unhandler lab subop %x\n", op);
logerror("unhandled lab subop %x\n", op);
logerror("%x\n", m_ppc);
break;
}

View File

@ -34,7 +34,7 @@
3322 2222 2222 1111 1111 1100 0000 0000
1098 7654 3210 9876 5432 1098 7654 3210
0000 00aa aaa0 00yy yyyy yyyx xxxx xxxx lab adx, ady (e)
0000 00aa aaa0 0?yy yyyy yyyx xxxx xxxx lab adx, ady (e)
0000 00aa aaa0 11yy yyyy yyyx xxxx xxxx lab adx, ady + 0x200
0000 00aa aaa1 00yy yyyy yyyx xxxx xxxx lab adx + 0x200, ady
@ -271,7 +271,7 @@ offs_t mb86233_disassembler::disassemble(std::ostream &stream, offs_t pc, const
util::stream_format(stream, "%s : ", alu0_func(alu) );
switch(op) {
case 0:
case 0: case 1:
util::stream_format(stream, "lab %s, %s (e)", memory(r1, false, false), memory(r2, true, false));
break;