filename | src/bios.h |
changeset | 87:11208d725b61 |
author | nkeynes |
date | Sun Feb 05 04:05:27 2006 +0000 (18 years ago) |
permissions | -rw-r--r-- |
last change | Video code reshuffle to start getting real video happening. Implement colourspace conversions Various tweaks |
view | annotate | diff | log | raw |
1 /**
2 * $Id: bios.h,v 1.1 2006-01-22 22:40:53 nkeynes Exp $
3 *
4 * "Fake" BIOS support, to allow basic functionality without the BIOS
5 * actually being present.
6 *
7 * Copyright (c) 2005 Nathan Keynes.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 */
19 #ifndef dream_bios_H
20 #define dream_bios_H 1
22 #include <stdint.h>
23 #include <glib/gtypes.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 /**
30 * Execute a BIOS syscall identified by a syscall ID (currently the last
31 * byte of the vector).
32 */
33 void bios_syscall( uint32_t syscallid );
35 /**
36 * Install the BIOS emu hack into ram (sets the vectors at 8C0000B0 through
37 * 8C0000C0)
38 */
39 void bios_install( void );
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif
.