comparison vdp.c @ 714:e29bc2918f69

Fix VDP status register PAL bit based on observations of the Titan Overdrive demo
author Michael Pavone <pavone@retrodev.com>
date Sun, 17 May 2015 15:43:20 -0700
parents 3342548de036
children 22dbdf50d33c
comparison
equal deleted inserted replaced
713:f9b80a78d9a6 714:e29bc2918f69
1755 } 1755 }
1756 } 1756 }
1757 if (context->flags & FLAG_DMA_RUN) { 1757 if (context->flags & FLAG_DMA_RUN) {
1758 value |= 0x2; 1758 value |= 0x2;
1759 } 1759 }
1760 if (context->latched_mode & BIT_PAL) {//Not sure about this, need to verify 1760 if (context->flags2 & FLAG2_REGION_PAL) {
1761 value |= 0x1; 1761 value |= 0x1;
1762 } 1762 }
1763 //printf("status read at cycle %d returned %X\n", context->cycles, value); 1763 //printf("status read at cycle %d returned %X\n", context->cycles, value);
1764 return value; 1764 return value;
1765 } 1765 }