src/mame/video/stvvdp2.c
| r12484 | r12485 | |
| 5470 | 5470 | |
| 5471 | 5471 | interlace = (STV_VDP2_LSMD == 3)+1; |
| 5472 | 5472 | |
| 5473 | | //popmessage("Back screen %08x %08x %08x",STV_VDP2_BDCLMD,STV_VDP2_BKCLMD,STV_VDP2_BKTA); |
| 5473 | popmessage("Back screen %08x %08x %08x",STV_VDP2_BDCLMD,STV_VDP2_BKCLMD,STV_VDP2_BKTA); |
| 5474 | 5474 | |
| 5475 | 5475 | /* draw black if BDCLMD and DISP are cleared */ |
| 5476 | 5476 | if(!(STV_VDP2_BDCLMD) && !(STV_VDP2_DISP)) |
| r12484 | r12485 | |
| 5481 | 5481 | |
| 5482 | 5482 | for(y=cliprect->min_y;y<=cliprect->max_y;y++) |
| 5483 | 5483 | { |
| 5484 | | base_offs = (STV_VDP2_BKTA & base_mask) << 1; |
| 5484 | base_offs = ((STV_VDP2_BKTA + 1) & base_mask) << 1; |
| 5485 | 5485 | if(STV_VDP2_BKCLMD) |
| 5486 | 5486 | base_offs += ((y / interlace) << 1); |
| 5487 | 5487 | |