filename | src/bios.h |
changeset | 87:11208d725b61 |
author | nkeynes |
date | Wed Feb 15 12:41:02 2006 +0000 (18 years ago) |
permissions | -rw-r--r-- |
last change | Reorg files slightly (move audio drivers into drivers, pvr2 code into its own directory) |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/src/bios.h Wed Feb 15 12:41:02 2006 +00001.3 @@ -0,0 +1,45 @@1.4 +/**1.5 + * $Id: bios.h,v 1.1 2006-01-22 22:40:53 nkeynes Exp $1.6 + *1.7 + * "Fake" BIOS support, to allow basic functionality without the BIOS1.8 + * actually being present.1.9 + *1.10 + * Copyright (c) 2005 Nathan Keynes.1.11 + *1.12 + * This program is free software; you can redistribute it and/or modify1.13 + * it under the terms of the GNU General Public License as published by1.14 + * the Free Software Foundation; either version 2 of the License, or1.15 + * (at your option) any later version.1.16 + *1.17 + * This program is distributed in the hope that it will be useful,1.18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of1.19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.20 + * GNU General Public License for more details.1.21 + */1.22 +#ifndef dream_bios_H1.23 +#define dream_bios_H 11.24 +1.25 +#include <stdint.h>1.26 +#include <glib/gtypes.h>1.27 +1.28 +#ifdef __cplusplus1.29 +extern "C" {1.30 +#endif1.31 +1.32 +/**1.33 + * Execute a BIOS syscall identified by a syscall ID (currently the last1.34 + * byte of the vector).1.35 + */1.36 +void bios_syscall( uint32_t syscallid );1.37 +1.38 +/**1.39 + * Install the BIOS emu hack into ram (sets the vectors at 8C0000B0 through1.40 + * 8C0000C0)1.41 + */1.42 +void bios_install( void );1.43 +1.44 +1.45 +#ifdef __cplusplus1.46 +}1.47 +#endif1.48 +#endif
.