+++ /dev/null
-/*\r
- * Mesa 3-D graphics library\r
- * Version: 4.0\r
- * \r
- * Copyright (C) 1999 Brian Paul All Rights Reserved.\r
- * \r
- * Permission is hereby granted, free of charge, to any person obtaining a\r
- * copy of this software and associated documentation files (the "Software"),\r
- * to deal in the Software without restriction, including without limitation\r
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,\r
- * and/or sell copies of the Software, and to permit persons to whom the\r
- * Software is furnished to do so, subject to the following conditions:\r
- * \r
- * The above copyright notice and this permission notice shall be included\r
- * in all copies or substantial portions of the Software.\r
- * \r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r
- * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r
- * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
- */\r
-\r
-/*\r
- * DOS/DJGPP device driver v1.1 for Mesa 4.0\r
- *\r
- * Copyright (C) 2002 - Borca Daniel\r
- * Email : dborca@yahoo.com\r
- * Web : http://www.geocities.com/dborca\r
- */\r
-\r
-\r
-#ifndef DPMIINT_H_included\r
-#define DPMIINT_H_included\r
-\r
-int _create_selector (int *segment, unsigned long base, int size);\r
-void _remove_selector (int *segment);\r
-\r
-#endif\r
+++ /dev/null
-/*\r
- * Mesa 3-D graphics library\r
- * Version: 4.0\r
- * \r
- * Copyright (C) 1999 Brian Paul All Rights Reserved.\r
- * \r
- * Permission is hereby granted, free of charge, to any person obtaining a\r
- * copy of this software and associated documentation files (the "Software"),\r
- * to deal in the Software without restriction, including without limitation\r
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,\r
- * and/or sell copies of the Software, and to permit persons to whom the\r
- * Software is furnished to do so, subject to the following conditions:\r
- * \r
- * The above copyright notice and this permission notice shall be included\r
- * in all copies or substantial portions of the Software.\r
- * \r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r
- * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r
- * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
- */\r
-\r
-/*\r
- * DOS/DJGPP device driver v1.1 for Mesa 4.0\r
- *\r
- * Copyright (C) 2002 - Borca Daniel\r
- * Email : dborca@yahoo.com\r
- * Web : http://www.geocities.com/dborca\r
- */\r
-\r
-\r
-#ifndef VIDEOINT_H_included\r
-#define VIDEOINT_H_included\r
-\r
-/*\r
- * general purpose defines, etc.\r
- */\r
-#ifndef FALSE\r
-#define FALSE 0\r
-#define TRUE !FALSE\r
-#endif\r
-\r
-#define __PACKED__ __attribute__((packed))\r
-\r
-typedef unsigned char word8;\r
-typedef unsigned short word16;\r
-typedef unsigned long word32;\r
-\r
-#define _16_ *(word16 *)&\r
-#define _32_ *(word32 *)&\r
-\r
-\r
-\r
-/*\r
- * video mode structure\r
- */\r
-typedef struct vl_mode {\r
- int mode;\r
- int xres, yres;\r
- int scanlen;\r
- int bpp;\r
-\r
- int sel;\r
- int gran;\r
-} vl_mode;\r
-\r
-\r
-\r
-/*\r
- * video driver structure\r
- */\r
-typedef struct {\r
- vl_mode *(*getmodes) (void);\r
- int (*entermode) (vl_mode *p, int refresh);\r
- void (*restore) (void);\r
- void (*finit) (void);\r
-} vl_driver;\r
-\r
-\r
-\r
-/*\r
- * asm routines to deal with virtual buffering\r
- */\r
-#define v_clear15 v_clear16\r
-extern void v_clear16 (void *buffer, int bytes, int color);\r
-extern void v_clear32 (void *buffer, int bytes, int color);\r
-extern void v_clear24 (void *buffer, int bytes, int color);\r
-\r
-extern void b_dump_virtual (void *buffer, int stride, int height);\r
-extern void l_dump_virtual (void *buffer, int stride, int height);\r
-\r
-#define v_putpixel15 v_putpixel16\r
-extern void v_putpixel16 (void *buffer, int offset, int color);\r
-extern void v_putpixel24 (void *buffer, int offset, int color);\r
-extern void v_putpixel32 (void *buffer, int offset, int color);\r
-\r
-#endif\r