cd: switch to CD controller code from genplus
[picodrive.git] / pico / cd / LC89510.h
CommitLineData
6cadc2da 1/***********************************************************\r
2 * *\r
3 * This source was taken from the Gens project *\r
4 * Written by Stéphane Dallongeville *\r
5 * Copyright (c) 2002 by Stéphane Dallongeville *\r
6 * Modified/adapted for PicoDrive by notaz, 2007 *\r
7 * *\r
8 ***********************************************************/\r
9\r
cc68a136 10#ifndef _LC89510_H\r
11#define _LC89510_H\r
12\r
13#ifdef __cplusplus\r
14extern "C" {\r
15#endif\r
16\r
cc68a136 17typedef struct\r
18{\r
19// unsigned short Fader; // 34\r
20// unsigned short Control; // 36\r
21// unsigned short Cur_Comm;// unused\r
22\r
23 // "Receive status"\r
24 unsigned short Status;\r
25 unsigned short Minute;\r
26 unsigned short Seconde;\r
27 unsigned short Frame;\r
28 unsigned char Ext;\r
0ffa8947 29 unsigned char pad[3];\r
cc68a136 30} CDD;\r
31\r
32\r
eff55556 33PICO_INTERNAL void CDD_Export_Status(void);\r
34PICO_INTERNAL void CDD_Import_Command(void);\r
cc68a136 35\r
3f23709e 36void CDD_Reset(void);\r
37\r
cc68a136 38#ifdef __cplusplus\r
39};\r
40#endif\r
41\r
42#endif\r
43\r