mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
md, fix vdp reset handling
This commit is contained in:
parent
51d6248b95
commit
c7661b80ef
2 changed files with 13 additions and 11 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue