--- uae/src/include/custom.h 2018/04/24 16:58:52 1.1.1.14 +++ uae/src/include/custom.h 2018/04/24 17:13:00 1.1.1.17 @@ -12,6 +12,8 @@ #define CSMASK_ECS_DENISE 2 #define CSMASK_AGA 4 +uae_u32 get_copper_address(int copno); + extern void custom_init (void); extern void customreset (void); extern int intlev (void); @@ -24,6 +26,8 @@ extern void notice_new_xcolors (void); extern void notice_screen_contents_lost (void); extern void init_row_map (void); +extern void custom_prepare_savestate (void); + extern int picasso_requested_on; extern int picasso_on; @@ -37,6 +41,8 @@ extern uae_u16 intena,intreq; extern int current_hpos (void); extern int vpos; +extern int find_copper_record (uaecptr, int *, int *); + extern int n_frames; STATIC_INLINE int dmaen (unsigned int dmamask) @@ -62,6 +68,7 @@ extern unsigned int joy0dir, joy1dir; extern int joy0button, joy1button; extern void INTREQ (uae_u16); +extern void INTREQ_0 (uae_u16); extern uae_u16 INTREQR (void); /* maximums for statically allocated tables */ @@ -103,6 +110,7 @@ extern unsigned long syncbase; #define DMA_BLITPRI 0x0400 extern unsigned long frametime, timeframes; +extern int plfstrt, plfstop, plffirstline, plflastline; /* 100 words give you 1600 horizontal pixels. Should be more than enough for * superhires. Don't forget to update the definition in genp2c.c as well. @@ -118,6 +126,8 @@ extern uae_u32 lorestab_l[256][2]; /* AGA mode color lookup tables */ extern unsigned int xredcolors[256], xgreencolors[256], xbluecolors[256]; +extern int bpl_off[8]; + /* get resolution from bplcon0 */ #define GET_RES(CON0) (((CON0) & 0x8000) ? RES_HIRES : ((CON0) & 0x40) ? RES_SUPERHIRES : RES_LORES) /* get sprite width from FMODE */