mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: drc: first implementation finished, no more interpreter dep
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@832 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
4b315c210a
commit
f0d7b1faa1
11 changed files with 397 additions and 161 deletions
|
@ -11,20 +11,20 @@ typedef struct
|
|||
unsigned int gbr, vbr; // 50
|
||||
unsigned int mach, macl; // 58
|
||||
|
||||
// interpreter stuff
|
||||
int icount; // 60 cycles left in current timeslice
|
||||
unsigned int ea;
|
||||
unsigned int delay;
|
||||
unsigned int test_irq;
|
||||
|
||||
// common
|
||||
const void *read8_map; // 70
|
||||
const void *read8_map; // 60
|
||||
const void *read16_map;
|
||||
const void **write8_tab;
|
||||
const void **write16_tab;
|
||||
|
||||
// drc stuff
|
||||
//void **pc_hashtab; // 80
|
||||
int drc_tmp; // 70
|
||||
|
||||
// interpreter stuff
|
||||
int icount; // cycles left in current timeslice
|
||||
unsigned int ea;
|
||||
unsigned int delay;
|
||||
unsigned int test_irq;
|
||||
|
||||
int pending_level; // MAX(pending_irl, pending_int_irq)
|
||||
int pending_irl;
|
||||
|
@ -37,7 +37,7 @@ typedef struct
|
|||
unsigned int cycles_done;
|
||||
} SH2;
|
||||
|
||||
extern SH2 *sh2; // active sh2
|
||||
extern SH2 *sh2; // active sh2. XXX: consider removing
|
||||
|
||||
int sh2_init(SH2 *sh2, int is_slave);
|
||||
void sh2_finish(SH2 *sh2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue