mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
rework sh2 sync, again..
also some new debug and poll code VF seems to be ok at least..
This commit is contained in:
parent
51d86e55f6
commit
19886062f1
9 changed files with 507 additions and 169 deletions
|
@ -39,6 +39,15 @@ typedef struct SH2_
|
|||
void *p_rom;
|
||||
unsigned int pdb_io_csum[2];
|
||||
|
||||
#define SH2_STATE_RUN (1 << 0) // to prevent recursion
|
||||
#define SH2_STATE_SLEEP (1 << 1)
|
||||
#define SH2_STATE_CPOLL (1 << 2) // polling comm regs
|
||||
#define SH2_STATE_VPOLL (1 << 3) // polling VDP
|
||||
unsigned int state;
|
||||
unsigned int poll_addr;
|
||||
int poll_cycles;
|
||||
int poll_cnt;
|
||||
|
||||
// interpreter stuff
|
||||
int icount; // cycles left in current timeslice
|
||||
unsigned int ea;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue