Previous 199869 Revisions Next

r33252 Friday 7th November, 2014 at 04:00:57 UTC by Ramiro Polla
upd7810: fix bug introduced in extended timer simplification
[src/emu/cpu/upd7810]upd7810.c
[src/mame/video]tumbleb.c

trunk/src/emu/cpu/upd7810/upd7810.c
r241763r241764
13491349            }
13501350         }
13511351         /* Conditions When ECNT Causes a CO1 Output Change */
1352         if (((0x00 == (ETMM & 0xc0)) && (ETM0 == ECNT)) || /* set CO1 if ECNT == ETM0 */
1352         if (((0x00 == (ETMM & 0xc0)) && (ETM1 == ECNT)) || /* set CO1 if ECNT == ETM1 */
13531353          /* ((0x40 == (ETMM & 0xc0)) prohibited */
1354             ((0x80 == (ETMM & 0xc0)) && (ETM0 == ECNT)) || /* set CO1 if ECNT == ETM0 or at falling CI input */
1354             ((0x80 == (ETMM & 0xc0)) && (ETM1 == ECNT)) || /* set CO1 if ECNT == ETM1 or at falling CI input */
13551355             ((0xc0 == (ETMM & 0xc0)) && (ETM0 == ECNT || ETM1 == ECNT))) /* latch CO1 if ECNT == ETM0 or ECNT == ETM1 */
13561356         {
13571357            switch (EOM & 0xe0)
trunk/src/mame/video/tumbleb.c
r241763r241764
305305   int offs, offs2;
306306
307307   flip_screen_set(m_control_0[0] & 0x80);
308   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
308309
309310   if (flip_screen())
310311      offs = 1;
r241763r241764
326327   int offs, offs2;
327328
328329   flip_screen_set(m_control_0[0] & 0x80);
330   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
329331
330332   if (flip_screen())
331333      offs = 1;
r241763r241764
346348   int offs, offs2;
347349
348350   flip_screen_set(m_control_0[0] & 0x80);
351   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
349352
350353   if (flip_screen())
351354      offs = 1;
r241763r241764
381384   int offs, offs2;
382385
383386   flip_screen_set(m_control_0[0] & 0x80);
387   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
384388
385389   /* not sure of this */
386390   if (flip_screen())
r241763r241764
403407   int offs, offs2;
404408
405409   flip_screen_set(m_control_0[0] & 0x80);
406
410   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
407411   offs = -1;
408412   offs2 = -2;
409413
r241763r241764
417421   int offs, offs2;
418422
419423   flip_screen_set(m_control_0[0] & 0x80);
420
424   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
421425   offs = -1;
422426   offs2 = -5; // foreground scroll..
423427
r241763r241764
432436   int offs, offs2;
433437
434438   flip_screen_set(m_control_0[0] & 0x80);
439   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
435440
436441   if (flip_screen())
437442      offs = 1;
r241763r241764
453458   int offs, offs2;
454459
455460   flip_screen_set(m_control_0[0] & 0x80);
461   machine().tilemap().set_flip_all(flip_screen() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
456462
457463   if (flip_screen())
458464      offs = 1;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team