mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: m68k memory handler improvemets
did some hw tests today..
This commit is contained in:
parent
4a1fb18323
commit
7eaa381224
3 changed files with 196 additions and 60 deletions
|
@ -489,8 +489,7 @@ typedef struct
|
|||
// peripheral reg access
|
||||
#define PREG8(regs,offs) ((unsigned char *)regs)[offs ^ 3]
|
||||
|
||||
// real one is 4*2, but we use more because we don't lockstep
|
||||
#define DMAC_FIFO_LEN (4*4)
|
||||
#define DMAC_FIFO_LEN (4*2)
|
||||
#define PWM_BUFF_LEN 1024 // in one channel samples
|
||||
|
||||
#define SH2_DRCBLK_RAM_SHIFT 1
|
||||
|
@ -511,9 +510,10 @@ struct Pico32x
|
|||
unsigned char sh2irqi[2]; // individual
|
||||
unsigned int sh2irqs; // common irqs
|
||||
unsigned short dmac_fifo[DMAC_FIFO_LEN];
|
||||
unsigned int pad[4];
|
||||
unsigned int dmac0_fifo_ptr;
|
||||
unsigned short vdp_fbcr_fake;
|
||||
unsigned short pad;
|
||||
unsigned short pad2;
|
||||
unsigned char comm_dirty_68k;
|
||||
unsigned char comm_dirty_sh2;
|
||||
unsigned char pwm_irq_cnt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue