trunk/src/mame/machine/amiga.c
| r19213 | r19214 | |
| 1163 | 1163 | return CUSTOM_REG(REG_DMACON); |
| 1164 | 1164 | |
| 1165 | 1165 | case REG_VPOSR: |
| 1166 | | CUSTOM_REG(REG_VPOSR) &= 0xff00; |
| 1166 | CUSTOM_REG(REG_VPOSR) &= 0x7f00; |
| 1167 | 1167 | 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 | |
| 1168 | 1171 | return CUSTOM_REG(REG_VPOSR); |
| 1169 | 1172 | |
| 1170 | 1173 | case REG_VHPOSR: |