Previous 199869 Revisions Next

r20406 Tuesday 22nd January, 2013 at 20:25:18 UTC by Wilbert Pol
(MESS) g7400: improved mixing of i8245 and ef934x video signals a bit (nw)
[src/mess/drivers]odyssey2.c

trunk/src/mess/drivers/odyssey2.c
r20405r20406
210210   0xCC,0x00,0x00,   /* Red */         // i R g b
211211   0xa9,0x80,0xff,                  // i R g B
212212   0x82,0xfd,0xdb,                  // i R G b
213   0xFF,0xFF,0xFF,                  // i R G B
213   0xcc,0xcc,0xcc,                  // i R G B
214214
215215   /* Background,Grid Bright */
216216   0x80,0x80,0x80,                  // I r g b
r20405r20406
442442WRITE16_MEMBER(odyssey2_state::scanline_postprocess_g7400)
443443{
444444   int vpos = data;
445   int y = vpos - i8244_device::START_Y;
445   int y = vpos - i8244_device::START_Y - 5;
446446   bitmap_ind16 *bitmap = m_i8244->get_bitmap();
447447   bitmap_ind16 *ef934x_bitmap = m_ef9340_1->get_bitmap();
448448
r20405r20406
452452   }
453453
454454   // apply external LUM setting
455   int x_real_start = i8244_device::START_ACTIVE_SCAN + i8244_device::BORDER_SIZE;
456   int x_real_end = i8244_device::END_ACTIVE_SCAN - i8244_device::BORDER_SIZE;
455   int x_real_start = i8244_device::START_ACTIVE_SCAN + i8244_device::BORDER_SIZE + 2;
456   int x_real_end = i8244_device::END_ACTIVE_SCAN - i8244_device::BORDER_SIZE + 2;
457457   for ( int x = i8244_device::START_ACTIVE_SCAN; x < i8244_device::END_ACTIVE_SCAN; x++ )
458458   {
459459      UINT16 d = bitmap->pix16( vpos, x );

Previous 199869 Revisions Next


© 1997-2024 The MAME Team