mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x: more wip
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@774 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
974fdb5bfd
commit
5e49c3a88d
9 changed files with 100 additions and 34 deletions
|
@ -23,12 +23,24 @@ void Pico32xInit(void)
|
|||
void PicoPower32x(void)
|
||||
{
|
||||
memset(&Pico32x, 0, sizeof(Pico32x));
|
||||
|
||||
Pico32x.regs[0] = 0x0082; // SH2 reset?
|
||||
Pico32x.vdp_regs[0x0a/2] = P32XV_VBLK|P32XV_HBLK|P32XV_PEN;
|
||||
}
|
||||
|
||||
void PicoUnload32x(void)
|
||||
{
|
||||
if (Pico32xMem != NULL)
|
||||
free(Pico32xMem);
|
||||
Pico32xMem = NULL;
|
||||
|
||||
PicoAHW &= ~PAHW_32X;
|
||||
}
|
||||
|
||||
void PicoReset32x(void)
|
||||
{
|
||||
extern int p32x_csum_faked;
|
||||
p32x_csum_faked = 0; // tmp
|
||||
}
|
||||
|
||||
static void p32x_start_blank(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue