home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Panoráma
/
computer_panorama_1997-12-hibas.iso
/
SHARE
/
GRAPH
/
PTC051.ZIP
/
SRC
/
X86_FAKE.H
< prev
Wrap
C/C++ Source or Header
|
1997-09-22
|
4KB
|
89 lines
//////////////////////////////////////////
// X -> FAKEMODE conversion (intel x86) //
//////////////////////////////////////////
#ifndef __X86_FAKEMODE_H
#define __X86_FAKEMODE_H
#include "misc.h"
#include "config.h"
#if defined(__FAKEMODE__) && defined(__X86__)
// interface to external x86 asm converters (do not call directly!)
extern "C" void Convert32_FAKEMODE1A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE1B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE1C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE2A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE2B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE2C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE3A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE3B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert32_FAKEMODE3C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE1A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE1B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE1C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE2A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE2B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE2C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE3A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE3B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_FAKEMODE3C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE1A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE1B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE1C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE2A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE2B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE2C_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE3A_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE3B_X86(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert8_FAKEMODE3C_X86(void *src,void *dest,uint pixels,void *extra);
// watcom c++ interface
#ifdef __WATCOMC__
#pragma warning 601 9
#pragma aux Convert32_FAKEMODE1A_X86 "_*"
#pragma aux Convert32_FAKEMODE1B_X86 "_*"
#pragma aux Convert32_FAKEMODE1C_X86 "_*"
#pragma aux Convert32_FAKEMODE2A_X86 "_*"
#pragma aux Convert32_FAKEMODE2B_X86 "_*"
#pragma aux Convert32_FAKEMODE2C_X86 "_*"
#pragma aux Convert32_FAKEMODE3A_X86 "_*"
#pragma aux Convert32_FAKEMODE3B_X86 "_*"
#pragma aux Convert32_FAKEMODE3C_X86 "_*"
#pragma aux Convert16_FAKEMODE1A_X86 "_*"
#pragma aux Convert16_FAKEMODE1B_X86 "_*"
#pragma aux Convert16_FAKEMODE1C_X86 "_*"
#pragma aux Convert16_FAKEMODE2A_X86 "_*"
#pragma aux Convert16_FAKEMODE2B_X86 "_*"
#pragma aux Convert16_FAKEMODE2C_X86 "_*"
#pragma aux Convert16_FAKEMODE3A_X86 "_*"
#pragma aux Convert16_FAKEMODE3B_X86 "_*"
#pragma aux Convert16_FAKEMODE3C_X86 "_*"
#pragma aux Convert8_FAKEMODE1A_X86 "_*"
#pragma aux Convert8_FAKEMODE1B_X86 "_*"
#pragma aux Convert8_FAKEMODE1C_X86 "_*"
#pragma aux Convert8_FAKEMODE2A_X86 "_*"
#pragma aux Convert8_FAKEMODE2B_X86 "_*"
#pragma aux Convert8_FAKEMODE2C_X86 "_*"
#pragma aux Convert8_FAKEMODE3A_X86 "_*"
#pragma aux Convert8_FAKEMODE3B_X86 "_*"
#pragma aux Convert8_FAKEMODE3C_X86 "_*"
#endif
#endif
#endif