/***************************************************************************
                           read.h  -  description
                             -------------------
    begin                : Wed Sep 18 2002
    copyright            : (C) 2002 by Pete Bernert
    email                : BlackDove@addcom.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version. See also the license.txt file for *
 *   additional informations.                                              *
 *                                                                         *
 ***************************************************************************/

//*************************************************************************//
// History of changes:
//
// 2002/09/19 - Pete
// - generic cleanup for the Peops release
//
//*************************************************************************//

void CreateREADBufs(void);
void FreeREADBufs(void);
BOOL bReadRetry(FRAMEBUF * f);
BOOL DoReadAsync(unsigned long addr);
BOOL DoRead(unsigned long addr);
DWORD WINAPI READThread(LPVOID lpParameter);
BOOL DoReadThread(unsigned long addr);
void GetREADThreadPtr(void);
DWORD WINAPI READThreadEx(LPVOID lpParameter);
BOOL DoReadThreadEx(unsigned long addr);
void GetREADThreadExPtr(void);
void AllocDataCache(void);
void FreeDataCache(void);
void AddToDataCache(unsigned long addr,unsigned char * pB);
BOOL CheckDataCache(unsigned long addr);
