X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2FLC89510.h;h=2b0d382658f64f58d0672e53f0fafb1e22ab109e;hb=b923ecbe75225bc7a1b6fbf419fd962a59066d59;hp=85e16151678fe42c6eb624b44b71d7662923ef08;hpb=51a902ae2512cffdb3ac7751988c1bde4a641be4;p=picodrive.git diff --git a/Pico/cd/LC89510.h b/Pico/cd/LC89510.h index 85e1615..2b0d382 100644 --- a/Pico/cd/LC89510.h +++ b/Pico/cd/LC89510.h @@ -1,3 +1,12 @@ +/*********************************************************** + * * + * This source was taken from the Gens project * + * Written by Stéphane Dallongeville * + * Copyright (c) 2002 by Stéphane Dallongeville * + * Modified/adapted for PicoDrive by notaz, 2007 * + * * + ***********************************************************/ + #ifndef _LC89510_H #define _LC89510_H @@ -88,7 +97,7 @@ typedef struct } B; unsigned int N; } CTRL; - unsigned int CDC_Decode_Reg_Read; + unsigned int Decode_Reg_Read; } CDC; typedef struct @@ -103,19 +112,20 @@ typedef struct unsigned short Seconde; unsigned short Frame; unsigned char Ext; + unsigned char pad[3]; } CDD; -void LC89510_Reset(void); -unsigned short Read_CDC_Host(int is_sub); -void Update_CDC_TRansfer(int which); -void CDC_Update_Header(void); +PICO_INTERNAL_ASM unsigned short Read_CDC_Host(int is_sub); +PICO_INTERNAL void LC89510_Reset(void); +PICO_INTERNAL void Update_CDC_TRansfer(int which); +PICO_INTERNAL void CDC_Update_Header(void); -unsigned char CDC_Read_Reg(void); -void CDC_Write_Reg(unsigned char Data); +PICO_INTERNAL unsigned char CDC_Read_Reg(void); +PICO_INTERNAL void CDC_Write_Reg(unsigned char Data); -void CDD_Export_Status(void); -void CDD_Import_Command(void); +PICO_INTERNAL void CDD_Export_Status(void); +PICO_INTERNAL void CDD_Import_Command(void); #ifdef __cplusplus };