/* Copyright (C) 2003 The ScummVM project
 *
 * 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.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * $Header: /cvsroot/scummvm/scummvm/bs2/driver/misc.cpp,v 1.9 2003/07/31 15:24:23 khalek Exp $
 */

#include "stdafx.h"
#include "driver96.h"
#include "../sword2.h"

uint32 SVM_timeGetTime(void) {
	return g_system->get_msecs();
}

void SVM_VirtualUnlock(uint8 *free_memman, uint32 total_free_memory) {
	warning("stub VirtualUnlock");
}

void SVM_GlobalMemoryStatus(SVM_MEMORYSTATUS *memo) {
	warning("stub GlobalMemoryStatus");
	memo->dwTotalPhys = 16000*1024; // hard code 16mb for now
}

void SVM_SetFileAttributes(char *file, uint32 atrib) {
	warning("stub SetFileAttributes");
}

void SVM_DeleteFile(char *file) {
	warning("stub DeleteFile");
}

void SVM_GetCurrentDirectory(uint32 max, char* path) {
	warning("stub GetCurrentDirectory");
}

int32 SVM_GetVolumeInformation(char *cdPath, char *sCDName, uint32 maxPath, uint8 *, uint32 *dwMaxCompLength, uint32 *dwFSFlags, uint8 *, uint32 a) {
	warning("stub GetVolumeInformation %s", cdPath);
	strcpy(sCDName, CD1_LABEL);
	return 1;
}

// FIXME wrap different platform specific mkdir calls and actually do something
void scumm_mkdir(const char *pathname) {
	warning("stub scumm_mkdir %s", pathname);
}

void SVM_GetModuleFileName(void *module, char *destStr, uint32 maxLen) {
	warning("stub GetModuleFileName");
}

