mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
Finish migrating to new mem handling. Make carthw db external.
Still need to fix asm and protection emulation. git-svn-id: file:///home/notaz/opt/svn/PicoDrive@769 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
af37bca858
commit
45f2f245f5
30 changed files with 948 additions and 1027 deletions
|
@ -5,6 +5,9 @@ typedef unsigned short u16;
|
|||
typedef unsigned int u32;
|
||||
|
||||
#define M68K_MEM_SHIFT 16
|
||||
// minimum size we can map
|
||||
#define M68K_BANK_SIZE (1 << M68K_MEM_SHIFT)
|
||||
#define M68K_BANK_MASK (M68K_BANK_SIZE - 1)
|
||||
|
||||
extern unsigned long m68k_read8_map [0x1000000 >> M68K_MEM_SHIFT];
|
||||
extern unsigned long m68k_read16_map [0x1000000 >> M68K_MEM_SHIFT];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue