some Pico work

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@442 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-07 18:53:53 +00:00
parent 406c96c547
commit d49b10c2f2
5 changed files with 75 additions and 28 deletions

View file

@ -71,8 +71,15 @@ extern int (*PicoMCDcloseTray)(void);
extern int PicoCDBuffers;
// Pico/Pico.c
extern int PicoPicoPenPos[2]; // x: 0x03c-0x17d, y: 0x200-0x2d8
extern int PicoPicoPage;
typedef struct
{
int pen_pos[2];
int page;
// internal
int fifo_bytes;
int line_counter;
} picohw_state;
extern picohw_state PicoPicohw;
// Area.c
typedef size_t (arearw)(void *p, size_t _size, size_t _n, void *file);