Previous 199869 Revisions Next

r19214 Thursday 29th November, 2012 at 03:47:47 UTC by Angelo Salese
(MESS) Added LOF bit in Amiga emulation, used by Twintris to boot
[src/mame/machine]amiga.c

trunk/src/mame/machine/amiga.c
r19213r19214
11631163         return CUSTOM_REG(REG_DMACON);
11641164
11651165      case REG_VPOSR:
1166         CUSTOM_REG(REG_VPOSR) &= 0xff00;
1166         CUSTOM_REG(REG_VPOSR) &= 0x7f00;
11671167         CUSTOM_REG(REG_VPOSR) |= amiga_gethvpos(*space.machine().primary_screen) >> 16;
1168         if(CUSTOM_REG(REG_BPLCON0) & BPLCON0_LACE && space.machine().primary_screen->frame_number() & 0x1)
1169            CUSTOM_REG(REG_VPOSR) |= 0x8000; // LOF bit
1170
11681171         return CUSTOM_REG(REG_VPOSR);
11691172
11701173      case REG_VHPOSR:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team