mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 15:18:05 -04:00
further prep for Wiz port. Cleanups, rm cpuctrl mmuhack; add warm
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@704 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
d572cbad98
commit
fa5e045bdc
24 changed files with 679 additions and 948 deletions
13
gp2x/soc.h
13
gp2x/soc.h
|
@ -3,8 +3,6 @@ typedef enum {
|
|||
SOCID_POLLUX,
|
||||
} gp2x_soc_t;
|
||||
|
||||
extern gp2x_soc_t gp2x_soc;
|
||||
|
||||
gp2x_soc_t soc_detect(void);
|
||||
|
||||
void mmsp2_init(void);
|
||||
|
@ -13,9 +11,20 @@ void mmsp2_finish(void);
|
|||
void pollux_init(void);
|
||||
void pollux_finish(void);
|
||||
|
||||
/* SoC specific functions */
|
||||
void gp2x_video_flip(void);
|
||||
void gp2x_video_flip2(void);
|
||||
void gp2x_video_changemode_ll(int bpp);
|
||||
void gp2x_video_setpalette(int *pal, int len);
|
||||
void gp2x_video_RGB_setscaling(int ln_offs, int W, int H);
|
||||
void gp2x_video_wait_vsync(void);
|
||||
|
||||
void gp2x_set_cpuclk(unsigned int mhz);
|
||||
|
||||
void set_lcd_custom_rate(int is_pal);
|
||||
void unset_lcd_custom_rate(void);
|
||||
void set_lcd_gamma(int g100, int A_SNs_curve);
|
||||
|
||||
void set_ram_timings(int tCAS, int tRC, int tRAS, int tWR, int tMRD, int tRFC, int tRP, int tRCD);
|
||||
void unset_ram_timings(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue