Previous 15994 Revisions Next

r1589 Wednesday 23rd January, 2008 at 02:23:49 UTC by Nathan Woods
[APPLE2] Fixed lores graphics broken in 0.119. (bug #1472)
[docs]messnew.txt
[src/mess/video]apple2.c

src/mess/video/apple2.c
r1588r1589
181181
182182static TILE_GET_INFO(apple2_lores_gettileinfo)
183183{
184   /* NPW 11-Aug-2007 - breaking Apple II in the short term so that the 0.117u1 update
185    * can be applied */
184   UINT32 ch = a2_videoram[lores_videobase + tile_index];
186185   tileinfo->pen_data = lores_tiledata;
187   tileinfo->palette_base = 0;
186   tileinfo->palette_base = ch * 2;
188187   tileinfo->flags = 0;
189
190   /*
191      OLD CODE:
192      ---------
193
194      static pen_t pal_data[2];
195      int ch;
196
197      tileinfo->pen_data = lores_tiledata;
198      tileinfo->pal_data = pal_data;
199      tileinfo->flags = 0;
200
201      ch = a2_videoram[lores_videobase + tile_index];
202      pal_data[0] = (ch >> 0) & 0x0f;
203      pal_data[1] = (ch >> 4) & 0x0f;
204   */
205188}
206189
207190static void apple2_lores_draw(mame_bitmap *bitmap, const rectangle *cliprect, int page, int beginrow, int endrow)
r1588r1589
392375   lores_tiledata = auto_malloc(sizeof(UINT8) * 14 * 8);
393376
394377   /* build lores_tiledata */
395   memset(lores_tiledata + 0*14, 0, 4*14);
396   memset(lores_tiledata + 4*14, 1, 4*14);
378   memset(lores_tiledata + 0*14, 1, 4*14);
379   memset(lores_tiledata + 4*14, 0, 4*14);
397380
398381   /* build hires artifact map */
399382   for (i = 0; i < 8; i++)
docs/messnew.txt
r1588r1589
1010
1111System Driver Changes:
1212----------------------
13- [APPLE2] Fixed lores graphics broken in 0.119.  (bug #1472) [Nate Woods]
14
1315- [GAMEBOY] Small mode 0 stat bug triggering fixes.  [Wilbert Pol]
1416
1517- [GAMEBOY] Added partial support for MBC6.  [Wilbert Pol]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team