trunk/src/mess/drivers/pc9801.c
| r19322 | r19323 | |
| 37 | 37 | - Microsoft Windows 1.0 MSDOS.SYS error (can be bypassed by loading MS-DOS first) |
| 38 | 38 | |
| 39 | 39 | List of per-game TODO: |
| 40 | - Absolutely Mahjong: GRCG doesn't seem to work at all, also Epson splash screen doesn't appear at all; |
| 40 | 41 | - Dragon Buster: has lots of gfx artifacts; |
| 41 | 42 | - Far Side Moon: doesn't detect neither mouse nor sound board; |
| 42 | 43 | - First Queen: has broken text display; |
| r19322 | r19323 | |
| 568 | 569 | |
| 569 | 570 | UINT32 pc9801_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| 570 | 571 | { |
| 571 | | bitmap.fill(0, cliprect); |
| 572 | bitmap.fill(get_black_pen(machine()), cliprect); |
| 572 | 573 | |
| 573 | 574 | /* graphics */ |
| 574 | 575 | m_hgdc2->screen_update(screen, bitmap, cliprect); |
| r19322 | r19323 | |
| 1394 | 1395 | res = 0; |
| 1395 | 1396 | for(i=0;i<4;i++) |
| 1396 | 1397 | { |
| 1397 | | if((m_grcg.mode & 1 << i) == 0) |
| 1398 | if((m_grcg.mode & (1 << i)) == 0) |
| 1398 | 1399 | res |= (m_video_ram_2[m_calc_grcg_addr(i,offset)] ^ m_grcg.tile[i]); |
| 1399 | 1400 | } |
| 1400 | 1401 | |
| r19322 | r19323 | |
| 1416 | 1417 | { |
| 1417 | 1418 | for(i=0;i<4;i++) |
| 1418 | 1419 | { |
| 1419 | | if((m_grcg.mode & 1 << i) == 0) |
| 1420 | if((m_grcg.mode & (1 << i)) == 0) |
| 1420 | 1421 | { |
| 1421 | 1422 | m_video_ram_2[m_calc_grcg_addr(i,offset)] &= ~data; |
| 1422 | 1423 | m_video_ram_2[m_calc_grcg_addr(i,offset)] |= m_grcg.tile[i] & data; |
| r19322 | r19323 | |
| 1427 | 1428 | { |
| 1428 | 1429 | for(i=0;i<4;i++) |
| 1429 | 1430 | { |
| 1430 | | if((m_grcg.mode & 1 << i) == 0) |
| 1431 | if((m_grcg.mode & (1 << i)) == 0) |
| 1432 | { |
| 1431 | 1433 | m_video_ram_2[m_calc_grcg_addr(i,offset)] = m_grcg.tile[i]; |
| 1434 | } |
| 1432 | 1435 | } |
| 1433 | 1436 | } |
| 1434 | 1437 | } |