mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-10-26 16:29:37 -04:00
drZ80 separation finished, related bugs fixed
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@755 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
ee05564fc7
commit
d8f51995c4
5 changed files with 55 additions and 61 deletions
|
|
@ -118,6 +118,7 @@ PICO_INTERNAL void z80_reset(void)
|
|||
drZ80.Z80IM = 0; // 1?
|
||||
drZ80.z80irqvector = 0xff0000; // RST 38h
|
||||
drZ80.Z80PC_BASE = drZ80.Z80PC = z80_read_map[0] << 1;
|
||||
// drZ80 is locked in single bank
|
||||
drZ80.Z80SP_BASE = z80_read_map[0] << 1;
|
||||
// drZ80.Z80SP = drZ80.z80_rebaseSP(0x2000); // 0xf000 ?
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue