md, fix vdp reset handling

This commit is contained in:
kub 2024-04-12 20:08:33 +02:00
parent 51d6248b95
commit c7661b80ef
2 changed files with 13 additions and 11 deletions

View file

@ -77,6 +77,15 @@ void PicoPower(void)
// my MD1 VA6 console has this in IO
PicoMem.ioports[1] = PicoMem.ioports[2] = PicoMem.ioports[3] = 0xff;
// powerup default VDP register values from TMSS BIOS
Pico.video.reg[0] = Pico.video.reg[1] = 0x04;
Pico.video.reg[0xc] = 0x81;
Pico.video.reg[0xf] = 0x02;
SATaddr = 0x0000;
SATmask = ~0x3ff;
Pico.video.hint_irq = (PicoIn.AHW & PAHW_PICO ? 5 : 4);
if (PicoIn.AHW & PAHW_MCD)
PicoPowerMCD();