1 /***************************************************************************** 2 ** $Source: /cygdrive/d/Private/_SVNROOT/bluemsx/blueMSX/Src/IoDevice/DirAsDisk.h,v $ 3 ** 4 ** $Revision: 1.6 $ 5 ** 6 ** $Date: 2008-03-30 18:38:40 $ 7 ** 8 ** More info: http://www.bluemsx.com 9 ** 10 ** Copyright (C) 2003-2007 Daniel Vik, Tomas Karlsson 11 ** 12 ** This program is free software; you can redistribute it and/or modify 13 ** it under the terms of the GNU General Public License as published by 14 ** the Free Software Foundation; either version 2 of the License, or 15 ** (at your option) any later version. 16 ** 17 ** This program is distributed in the hope that it will be useful, 18 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 19 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 ** GNU General Public License for more details. 21 ** 22 ** You should have received a copy of the GNU General Public License 23 ** along with this program; if not, write to the Free Software 24 ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 25 ** 26 ****************************************************************************** 27 */ 28 #ifndef DIR_AS_DISK_H 29 #define DIR_AS_DISK_H 30 31 #include "MsxTypes.h" 32 33 typedef enum { 34 DDT_MSX = 0, 35 DDT_SVI_328_CPM_SSDD = 1, 36 DDT_SVI_328_CPM_DSDD = 2, 37 DDT_SVI_738_CPM_SSDD = 3, 38 DDT_SVI_328_Basic_SSDD = 4, 39 DDT_SVI_328_Basic_DSDD = 5, 40 DDT_MSX_CPM_SSDD = 6, 41 DDT_MSX_CPM_DSDD = 7, 42 } DirDiskType; 43 44 void* dirLoadFile(DirDiskType diskType, const char* fileName, int* size); 45 46 #endif 47