Fixed ZDE build - missing header file
[ZeXOS.git] / libx / libx / base.h
blob6d628fb8f08283659fc1d080c0af67dd6a2a0dcd
1 /*
2 * ZeX/OS
3 * Copyright (C) 2007 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
4 * Copyright (C) 2010 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef _BASE_H
22 #define _BASE_H
24 #define SYSV_GVGAFB (unsigned *) 0x9040
26 unsigned short *vgafb;
27 unsigned short *vgadb;
29 unsigned vgafb_res_x;
30 unsigned vgafb_res_y;
32 /* externs */
33 extern void xcls (unsigned color);
34 extern unsigned xinit ();
35 extern void xpixel (unsigned x, unsigned y, unsigned color);
36 extern unsigned xpixelget (unsigned x, unsigned y);
37 extern void xfbswap ();
38 extern void xexit ();
40 #endif