| 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 |
| 10 | #ifndef _LC89510_H\r |
| 11 | #define _LC89510_H\r |
| 12 | \r |
| 13 | #ifdef __cplusplus\r |
| 14 | extern "C" {\r |
| 15 | #endif\r |
| 16 | \r |
| 17 | typedef 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 |
| 29 | unsigned char pad[3];\r |
| 30 | } CDD;\r |
| 31 | \r |
| 32 | \r |
| 33 | PICO_INTERNAL void CDD_Export_Status(void);\r |
| 34 | PICO_INTERNAL void CDD_Import_Command(void);\r |
| 35 | \r |
| 36 | void CDD_Reset(void);\r |
| 37 | \r |
| 38 | #ifdef __cplusplus\r |
| 39 | };\r |
| 40 | #endif\r |
| 41 | \r |
| 42 | #endif\r |
| 43 | \r |