Previous 199869 Revisions Next

r18378 Tuesday 9th October, 2012 at 13:16:55 UTC by hap
(strange indentation)
[src/mame/drivers]go2000.c

trunk/src/mame/drivers/go2000.c
r18377r18378
177177
178178UINT32 go2000_state::screen_update_go2000(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
179179{
180   int x,y;
181180   int count = 0;
182181
183182   /* 0x600000 - 0x601fff / 0x610000 - 0x611fff */
184   for (x = 0; x < 64; x++)
183   for (int x = 0; x < 64; x++)
185184   {
186      for (y = 0; y < 32; y++)
185      for (int y = 0; y < 32; y++)
187186      {
188187         int tile = m_videoram[count];
189188         int attr = m_videoram2[count];
r18377r18378
193192   }
194193
195194   /* 0x602000 - 0x603fff / 0x612000 - 0x613fff */
196   for (x = 0; x < 64; x++)
195   for (int x = 0; x < 64; x++)
197196   {
198      for (y = 0; y < 32; y++)
197      for (int y = 0; y < 32; y++)
199198      {
200199         int tile = m_videoram[count];
201200         int attr = m_videoram2[count];
r18377r18378
205204   }
206205
207206   /*Sprite RAM code actually copied from video/suna16.c with minor modifications.*/
208   {
209   int offs;
210
211207   int max_x = machine().primary_screen->width() - 8;
212208   int max_y = machine().primary_screen->height() - 8;
213209
214   for (offs = 0xf800 / 2; offs < 0x10000 / 2 ; offs += 4/2)
210   for (int offs = 0xf800 / 2; offs < 0x10000 / 2 ; offs += 4/2)
215211   {
216212      int srcpg, srcx, srcy, dimx, dimy;
217213      int tile_x, tile_xinc, tile_xstart;
r18377r18378
301297
302298         tile_y += tile_yinc;
303299      }
304
305300   }
306   }
307301
308302   return 0;
309303}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team