comparison 68kinst.c @ 981:902c53d9c16f

Half assed, prefetch based open bus value emulation. Gets BlastEm up to 119/122 in VDP FIFO Testing
author Michael Pavone <pavone@retrodev.com>
date Sun, 24 Apr 2016 02:19:48 -0700
parents b4cf6573a3f8
children 261995d06897
comparison
equal deleted inserted replaced
980:928442068afe 981:902c53d9c16f
1544 //TODO: Implement me 1544 //TODO: Implement me
1545 break; 1545 break;
1546 } 1546 }
1547 if (decoded->op == M68K_INVALID) { 1547 if (decoded->op == M68K_INVALID) {
1548 decoded->src.params.immed = *start; 1548 decoded->src.params.immed = *start;
1549 decoded->bytes = 2;
1549 return start + 1; 1550 return start + 1;
1550 } 1551 }
1552 decoded->bytes = 2 * (istream + 1 - start);
1551 return istream+1; 1553 return istream+1;
1552 } 1554 }
1553 1555
1554 uint32_t m68k_branch_target(m68kinst * inst, uint32_t *dregs, uint32_t *aregs) 1556 uint32_t m68k_branch_target(m68kinst * inst, uint32_t *dregs, uint32_t *aregs)
1555 { 1557 {