mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sms, improve ROM bank mapping, add some SRAM support
This commit is contained in:
parent
15caa286fc
commit
b784d4a5f7
4 changed files with 69 additions and 11 deletions
|
@ -38,7 +38,7 @@ extern void s68k_write16(u32 a, u16 d);
|
|||
extern void s68k_write32(u32 a, u32 d);
|
||||
|
||||
// z80
|
||||
#define Z80_MEM_SHIFT 13
|
||||
#define Z80_MEM_SHIFT 10 // must be <=10 to allow 1KB pages for SMS Sega mapper
|
||||
extern uptr z80_read_map [0x10000 >> Z80_MEM_SHIFT];
|
||||
extern uptr z80_write_map[0x10000 >> Z80_MEM_SHIFT];
|
||||
typedef unsigned char (z80_read_f)(unsigned short a);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue