trunk/src/mess/drivers/pc9801.c
| r242386 | r242387 | |
| 1432 | 1432 | { |
| 1433 | 1433 | dst_off &= 7; |
| 1434 | 1434 | if(m_egc.first) |
| 1435 | | m_egc.count -= dir ? 7 - dst_off : dst_off; |
| 1435 | m_egc.count -= dir ? 8 - dst_off : (dst_off + 1); |
| 1436 | 1436 | else |
| 1437 | 1437 | m_egc.count -= 8; |
| 1438 | 1438 | } |
| 1439 | 1439 | else |
| 1440 | 1440 | { |
| 1441 | 1441 | if(m_egc.first) |
| 1442 | | m_egc.count -= dir ? 15 - dst_off : dst_off; |
| 1442 | m_egc.count -= dir ? 16 - dst_off : (dst_off + 1); |
| 1443 | 1443 | else |
| 1444 | 1444 | m_egc.count -= 16; |
| 1445 | 1445 | } |
| r242386 | r242387 | |
| 1455 | 1455 | |
| 1456 | 1456 | UINT16 pc9801_state::egc_blit_r(UINT32 offset, UINT16 mem_mask) |
| 1457 | 1457 | { |
| 1458 | | UINT16 plane_off = offset & 0x13fff; |
| 1458 | UINT32 plane_off = offset & 0x13fff; |
| 1459 | 1459 | if((m_egc.regs[2] & 0x300) == 0x100) |
| 1460 | 1460 | { |
| 1461 | 1461 | m_egc.pat[0] = m_video_ram_2[plane_off + 0x4000]; |