mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 23:58:04 -04:00
Pico PCM, only one hardcoded mode for now
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@444 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
1e6b5e39f4
commit
ef4eb506de
7 changed files with 151 additions and 12 deletions
|
@ -71,14 +71,18 @@ extern int (*PicoMCDcloseTray)(void);
|
|||
extern int PicoCDBuffers;
|
||||
|
||||
// Pico/Pico.c
|
||||
#define XPCM_BUFFER_SIZE (320+32)
|
||||
typedef struct
|
||||
{
|
||||
int pen_pos[2];
|
||||
int page;
|
||||
// internal
|
||||
int fifo_bytes;
|
||||
int fifo_bytes; // free bytes in FIFO
|
||||
int fifo_line_bytes; // float part, << 16
|
||||
int line_counter;
|
||||
unsigned int r1, r12;
|
||||
unsigned short r1, r12;
|
||||
unsigned char xpcm_buffer[XPCM_BUFFER_SIZE+4];
|
||||
unsigned char *xpcm_ptr;
|
||||
} picohw_state;
|
||||
extern picohw_state PicoPicohw;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue