X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2FLC89510.h;h=fb84d61ddc6573ef9ae669265e8fd7aa95f1a067;hb=1c88b865ceb1e1801bcf20010088fd62cdf2cc06;hp=110014911e3276abaa2e0f37c00a3c3146b6d29f;hpb=bf098bc53228f6b5016cb4a6126f4466bfba4e00;p=picodrive.git diff --git a/Pico/cd/LC89510.h b/Pico/cd/LC89510.h index 1100149..fb84d61 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 @@ -8,9 +17,9 @@ extern "C" { typedef struct { unsigned char Buffer[(32 * 1024 * 2) + 2352]; - unsigned int Host_Data; - unsigned int DMA_Adr; - unsigned int Stop_Watch; +// unsigned int Host_Data; // unused +// unsigned int DMA_Adr; // 0A +// unsigned int Stop_Watch; // 0C unsigned int COMIN; unsigned int IFSTAT; union @@ -88,6 +97,7 @@ typedef struct } B; unsigned int N; } CTRL; + unsigned int Decode_Reg_Read; } CDC; typedef struct @@ -105,9 +115,6 @@ typedef struct } CDD; -extern int CDC_Decode_Reg_Read; - - void LC89510_Reset(void); unsigned short Read_CDC_Host(int is_sub); void Update_CDC_TRansfer(int which);