home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
texmf
/
source
/
SpecHost
/
Data.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-07
|
23KB
|
425 lines
/*
** SpecialHost for PasTeX
**
** Copyright © by Olaf Barthel & Georg Heßmann
*/
#include "Global.h"
struct ExecBase *SysBase;
struct DosLibrary *DOSBase;
struct IntuitionBase *IntuitionBase;
struct GfxBase *GfxBase;
struct Library *IconBase,
*GadToolsBase,
*IFFParseBase,
*UtilityBase,
*AslBase,
/*
*MathBase,
*MathTransBase,
*/
*MathIeeeDoubBasBase,
*MathIeeeDoubTransBase,
*MUIMasterBase,
*DataTypesBase;
struct Process *ThisProcess;
APTR OldPtr;
APTR Pool;
struct List MessageList;
struct MsgPort *MainPort;
UBYTE Filter[256];
APTR AP_Application,
WI_Main,
CY_Transfer,
CY_Render,
CM_Invert,
ST_BaseDPI,
LV_Messages,
GA_Gauge,
BT_Jump,
BT_Show,
BT_Clear;
struct Screen *PubScreen;
struct Process *Father;
BOOL InvertChanged = FALSE,
UseGUI = TRUE;
struct config_struct Configuration =
{
CONFIG_FILE_MAGIC,
CONFIG_FILE_VERSION,
TRUE,
FALSE,
100,
DRAW_IN_MEM,
0,0,
0,0,
0,0,
FALSE,
0,0,0,0,0,0,0,0,0
};
#define TOGGLE CHECKIT|TOGGLESELECT
struct NewMenu MenuTemplate[] =
{
{ NM_TITLE, "Project", 0 , 0, 0, (APTR)0},
{ NM_ITEM, "Load settings", "O", 0, 0, (APTR)MEN_OPEN},
{ NM_ITEM, "Save settings", "W", 0, 0, (APTR)MEN_SAVE},
{ NM_ITEM, NM_BARLABEL, 0 , 0, 0, (APTR)0},
{ NM_ITEM, "Use public screen", "U", TOGGLE, 0, (APTR)MEN_PUBSCREEN},
{ NM_ITEM, NM_BARLABEL, 0 , 0, 0, (APTR)0},
{ NM_ITEM, "About...", "?", 0, 0, (APTR)MEN_ABOUT},
{ NM_ITEM, NM_BARLABEL, 0 , 0, 0, (APTR)0},
{ NM_ITEM, "Quit", "Q", 0, 0, (APTR)MEN_QUIT},
{ NM_END, 0, 0 , 0, 0, (APTR)0}
};
STRPTR CYA_Transfer[] =
{
"Image in memory",
"Image on disk",
"« No image »",
NULL
};
STRPTR CYA_Render[] =
{
"« No modification »",
"Draw a frame",
"Clear image",
NULL
};
UBYTE OrderedBckBrick[256] =
{
0xFF,0xE0,0xC3,0xA8,0x8F,0x78,0x63,0x50,0x3F,0x30,0x23,0x18,0x0F,0x08,0x03,0x01,
0xEF,0xFE,0xDF,0xC2,0xA7,0x8E,0x77,0x62,0x4F,0x3E,0x2F,0x22,0x17,0x0E,0x07,0x02,
0xD1,0xEE,0xFD,0xDE,0xC1,0xA6,0x8D,0x76,0x61,0x4E,0x3D,0x2E,0x21,0x16,0x0D,0x06,
0xB5,0xD0,0xED,0xFC,0xDD,0xC0,0xA5,0x8C,0x75,0x60,0x4D,0x3C,0x2D,0x20,0x15,0x0C,
0x9B,0xB4,0xCF,0xEC,0xFB,0xDC,0xBF,0xA4,0x8B,0x74,0x5F,0x4C,0x3B,0x2C,0x1F,0x14,
0x83,0x9A,0xB3,0xCE,0xEB,0xFA,0xDB,0xBE,0xA3,0x8A,0x73,0x5E,0x4B,0x3A,0x2B,0x1E,
0x6D,0x82,0x99,0xB2,0xCD,0xEA,0xF9,0xDA,0xBD,0xA2,0x89,0x72,0x5D,0x4A,0x39,0x2A,
0x59,0x6C,0x81,0x98,0xB1,0xCC,0xE9,0xF8,0xD9,0xBC,0xA1,0x88,0x71,0x5C,0x49,0x38,
0x47,0x58,0x6B,0x80,0x97,0xB0,0xCB,0xE8,0xF7,0xD8,0xBB,0xA0,0x87,0x70,0x5B,0x48,
0x37,0x46,0x57,0x6A,0x7F,0x96,0xAF,0xCA,0xE7,0xF6,0xD7,0xBA,0x9F,0x86,0x6F,0x5A,
0x29,0x36,0x45,0x56,0x69,0x7E,0x95,0xAE,0xC9,0xE6,0xF5,0xD6,0xB9,0x9E,0x85,0x6E,
0x1D,0x28,0x35,0x44,0x55,0x68,0x7D,0x94,0xAD,0xC8,0xE5,0xF4,0xD5,0xB8,0x9D,0x84,
0x13,0x1C,0x27,0x34,0x43,0x54,0x67,0x7C,0x93,0xAC,0xC7,0xE4,0xF3,0xD4,0xB7,0x9C,
0x0B,0x12,0x1B,0x26,0x33,0x42,0x53,0x66,0x7B,0x92,0xAB,0xC6,0xE3,0xF2,0xD3,0xB6,
0x05,0x0A,0x11,0x1A,0x25,0x32,0x41,0x52,0x65,0x7A,0x91,0xAA,0xC5,0xE2,0xF1,0xD2,
0x01,0x04,0x09,0x10,0x19,0x24,0x31,0x40,0x51,0x64,0x79,0x90,0xA9,0xC4,0xE1,0xF0
};
UBYTE OrderedFwdBrick[256] =
{
0x01,0x04,0x09,0x10,0x19,0x24,0x31,0x40,0x51,0x64,0x79,0x90,0xA9,0xC4,0xE1,0xF0,
0x05,0x0A,0x11,0x1A,0x25,0x32,0x41,0x52,0x65,0x7A,0x91,0xAA,0xC5,0xE2,0xF1,0xD2,
0x0B,0x12,0x1B,0x26,0x33,0x42,0x53,0x66,0x7B,0x92,0xAB,0xC6,0xE3,0xF2,0xD3,0xB6,
0x13,0x1C,0x27,0x34,0x43,0x54,0x67,0x7C,0x93,0xAC,0xC7,0xE4,0xF3,0xD4,0xB7,0x9C,
0x1D,0x28,0x35,0x44,0x55,0x68,0x7D,0x94,0xAD,0xC8,0xE5,0xF4,0xD5,0xB8,0x9D,0x84,
0x29,0x36,0x45,0x56,0x69,0x7E,0x95,0xAE,0xC9,0xE6,0xF5,0xD6,0xB9,0x9E,0x85,0x6E,
0x37,0x46,0x57,0x6A,0x7F,0x96,0xAF,0xCA,0xE7,0xF6,0xD7,0xBA,0x9F,0x86,0x6F,0x5A,
0x47,0x58,0x6B,0x80,0x97,0xB0,0xCB,0xE8,0xF7,0xD8,0xBB,0xA0,0x87,0x70,0x5B,0x48,
0x59,0x6C,0x81,0x98,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0xF4,
0xA1,0x61,0x91,0x51,0xAF,0x6F,0x9F,0x5F,0xA2,0x62,0x92,0x52,0xAC,0x6C,0x9C,0x5C,
0x09,0xE1,0x31,0xD1,0x05,0xEF,0x3F,0xDF,0x0A,0xE2,0x32,0xD2,0x06,0xEC,0x3C,0xDC,
0x89,0x49,0xB1,0x71,0x85,0x45,0xBF,0x7F,0x8A,0x4A,0xB2,0x72,0x86,0x46,0xBC,0x7C,
0x29,0xC9,0x19,0xF1,0x25,0xC5,0x15,0xFE,0x2A,0xCA,0x1A,0xF2,0x26,0xC6,0x16,0xFC,
0xA9,0x69,0x99,0x59,0xA5,0x65,0x95,0x55,0xAA,0x6A,0x9A,0x5A,0xA6,0x66,0x96,0x56,
0x03,0xE9,0x39,0xD9,0x0D,0xE5,0x35,0xD5,0x00,0xEA,0x3A,0xDA,0x0E,0xE6,0x36,0xD6,
0x83,0x43,0xB9,0x79,0x8D,0x4D,0xB5,0x75,0x80,0x40,0xBA,0x7A,0x8E,0x4E,0xB6,0x76,
0x23,0xC3,0x13,0xF9,0x2D,0xCD,0x1D,0xF5,0x20,0xC0,0x10,0xFA,0x2E,0xCE,0x1E,0xF6,
0xA3,0x63,0x93,0x53,0xAD,0x6D,0x9D,0x5D,0xA0,0x60,0x90,0x50,0xAE,0x6E,0x9E,0x5E,
0x0B,0xE3,0x33,0xD3,0x07,0xED,0x3D,0xDD,0x08,0xE0,0x30,0xD0,0x04,0xEE,0x3E,0xDE,
0x8B,0x4B,0xB3,0x73,0x87,0x47,0xBD,0x7D,0x88,0x48,0xB0,0x70,0x84,0x44,0xBE,0x7E,
0x2B,0xCB,0x1B,0xF3,0x27,0xC7,0x17,0xFD,0x28,0xC8,0x18,0xF0,0x24,0xC4,0x14,0xFE,
0xAB,0x6B,0x9B,0x5B,0xA7,0x67,0x97,0x57,0xA8,0x68,0x98,0x58,0xA4,0x64,0x94,0x54
};
UBYTE OrderedHexagonalCluster[256] =
{
0xEF,0xEF,0xAF,0x21,0x01,0x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05,0x15,0x95,0xC1,0xF1,0xE1,0xA1,0x26,0x06,0x16,0x96,0xC2,0xF2,0xE2,0xA2,0x25,
0xBF,0x5F,0x4F,0x81,0xD1,0x71,0x31,0x6C,0xBC,0x5C,0x4C,0x82,0xD2,0x72,0x32,0x6F
};
UBYTE OrderedSpiralDot[256] =
{
0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,0xE0,0xE1,
0xD1,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xE2,
0xD0,0x9B,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0xAA,0xE3,
0xCF,0x9A,0x6D,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x7A,0xAB,0xE4,
0xCE,0x99,0x6C,0x47,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x52,0x7B,0xAC,0xE5,
0xCD,0x98,0x6B,0x46,0x29,0x14,0x15,0x16,0x17,0x18,0x19,0x32,0x53,0x7C,0xAD,0xE6,
0xCC,0x97,0x6A,0x45,0x28,0x13,0x06,0x07,0x08,0x09,0x1A,0x33,0x54,0x7D,0xAE,0xE7,
0xCB,0x96,0x69,0x44,0x27,0x12,0x05,0x00,0x01,0x0A,0x1B,0x34,0x55,0x7E,0xAF,0xE8,
0xCA,0x95,0x68,0x43,0x26,0x11,0x04,0x03,0x02,0x0B,0x1C,0x35,0x56,0x7F,0xB0,0xE9,
0xC9,0x94,0x67,0x42,0x25,0x10,0x0F,0x0E,0x0D,0x0C,0x1D,0x36,0x57,0x80,0xB1,0xEA,
0xC8,0x93,0x66,0x41,0x24,0x23,0x22,0x21,0x20,0x1F,0x1E,0x37,0x58,0x81,0xB2,0xEB,
0xC7,0x92,0x65,0x40,0x3F,0x3E,0x3D,0x3C,0x3B,0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0x47,0x6B,0x97,0xCB,0xE7,0xAB,0x17,0x2B,0x47,0x6B,0x97,0xCB,0xE7,0xAB,
0x2F,0x4B,0x6F,0x9B,0xCF,0xEB,0xAF,0x7B,0x2F,0x4B,0x6F,0x9B,0xCF,0xEB,0xAF,0x7B,
0x4F,0x73,0x9F,0xD3,0xEF,0xB3,0x7F,0x53,0x4F,0x73,0x9F,0xD3,0xEF,0xB3,0x7F,0x53,
0x77,0xA3,0xD7,0xF3,0xB7,0x83,0x57,0x33,0x77,0xA3,0xD7,0xF3,0xB7,0x83,0x57,0x33,
0xA7,0xDB,0xF7,0xBB,0x87,0x5B,0x37,0x1B,0xA7,0xDB,0xF7,0xBB,0x87,0x5B,0x37,0x1B,
0xDF,0xFB,0xBF,0x8B,0x5F,0x3B,0x1F,0x0B,0xDF,0xFB,0xBF,0x8B,0x5F,0x3B,0x1F,0x0B,
0xFF,0xC3,0x8F,0x63,0x3F,0x23,0x0F,0x03,0xFF,0xC3,0x8F,0x63,0x3F,0x23,0x0F,0x03
};
UBYTE OrderedHalftone8[256] =
{
0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,
0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,
0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,
0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,
0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,
0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,
0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,
0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,
0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,
0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,
0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,
0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,
0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,0x60,0x40,0x90,0xB0,
0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,0x00,0x20,0xF0,0xD0,
0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,0x80,0xA0,0x70,0x50,
0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30,0xE0,0xC0,0x10,0x30
};
UBYTE OrderedHalftone4[256] =
{
0x90,0xA0,0x98,0x80,0x6C,0x5C,0x64,0x7C,0x90,0xA0,0x98,0x80,0x6C,0x5C,0x64,0x7C,
0xD8,0xE0,0xE8,0xB0,0x24,0x1C,0x14,0x4C,0xD8,0xE0,0xE8,0xB0,0x24,0x1C,0x14,0x4C,
0xD0,0xF8,0xF0,0xA8,0x2C,0x04,0x0C,0x54,0xD0,0xF8,0xF0,0xA8,0x2C,0x04,0x0C,0x54,
0xB8,0xC8,0xC0,0x88,0x44,0x34,0x3C,0x74,0xB8,0xC8,0xC0,0x88,0x44,0x34,0x3C,0x74,
0x68,0x58,0x60,0x78,0x94,0xA4,0x9C,0x84,0x68,0x58,0x60,0x78,0x94,0xA4,0x9C,0x84,
0x20,0x18,0x10,0x48,0xDC,0xE4,0xEC,0xB4,0x20,0x18,0x10,0x48,0xDC,0xE4,0xEC,0xB4,
0x28,0x00,0x08,0x50,0xD4,0xFC,0xF4,0xAC,0x28,0x00,0x08,0x50,0xD4,0xFC,0xF4,0xAC,
0x40,0x30,0x38,0x70,0xBC,0xCC,0xC4,0x8C,0x40,0x30,0x38,0x70,0xBC,0xCC,0xC4,0x8C,
0x90,0xA0,0x98,0x80,0x6C,0x5C,0x64,0x7C,0x90,0xA0,0x98,0x80,0x6C,0x5C,0x64,0x7C,
0xD8,0xE0,0xE8,0xB0,0x24,0x1C,0x14,0x4C,0xD8,0xE0,0xE8,0xB0,0x24,0x1C,0x14,0x4C,
0xD0,0xF8,0xF0,0xA8,0x2C,0x04,0x0C,0x54,0xD0,0xF8,0xF0,0xA8,0x2C,0x04,0x0C,0x54,
0xB8,0xC8,0xC0,0x88,0x44,0x34,0x3C,0x74,0xB8,0xC8,0xC0,0x88,0x44,0x34,0x3C,0x74,
0x68,0x58,0x60,0x78,0x94,0xA4,0x9C,0x84,0x68,0x58,0x60,0x78,0x94,0xA4,0x9C,0x84,
0x20,0x18,0x10,0x48,0xDC,0xE4,0xEC,0xB4,0x20,0x18,0x10,0x48,0xDC,0xE4,0xEC,0xB4,
0x28,0x00,0x08,0x50,0xD4,0xFC,0xF4,0xAC,0x28,0x00,0x08,0x50,0xD4,0xFC,0xF4,0xAC,
0x40,0x30,0x38,0x70,0xBC,0xCC,0xC4,0x8C,0x40,0x30,0x38,0x70,0xBC,0xCC,0xC4,0x8C
};
UBYTE OrderedSpiralDot8[256] =
{
0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,
0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,
0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,
0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,
0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,
0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,
0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,
0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,
0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,
0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,
0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,
0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,
0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,0x60,0x70,0x80,0x90,
0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,0x50,0x00,0x10,0xA0,
0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,0x40,0x30,0x20,0xB0,
0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0,0xE0,0xE0,0xD0,0xC0
};
UBYTE OrderedSpiralDot4[256] =
{
0xA8,0xAC,0xB0,0xB4,0xB8,0xBC,0xC0,0xC4,0xA8,0xAC,0xB0,0xB4,0xB8,0xBC,0xC0,0xC4,
0xA4,0x50,0x54,0x58,0x5C,0x60,0x64,0xC8,0xA4,0x50,0x54,0x58,0x5C,0x60,0x64,0xC8,
0xA0,0x4C,0x18,0x1C,0x20,0x24,0x68,0xCC,0xA0,0x4C,0x18,0x1C,0x20,0x24,0x68,0xCC,
0x9C,0x48,0x14,0x00,0x04,0x28,0x6C,0xD0,0x9C,0x48,0x14,0x00,0x04,0x28,0x6C,0xD0,
0x98,0x44,0x10,0x0C,0x08,0x2C,0x70,0xD4,0x98,0x44,0x10,0x0C,0x08,0x2C,0x70,0xD4,
0x94,0x40,0x3C,0x38,0x34,0x30,0x74,0xD8,0x94,0x40,0x3C,0x38,0x34,0x30,0x74,0xD8,
0x90,0x8C,0x88,0x84,0x80,0x7C,0x78,0xDC,0x90,0x8C,0x88,0x84,0x80,0x7C,0x78,0xDC,
0xF8,0xF8,0xF4,0xF0,0xEC,0xE8,0xE4,0xE0,0xF8,0xF8,0xF4,0xF0,0xEC,0xE8,0xE4,0xE0,
0xA8,0xAC,0xB0,0xB4,0xB8,0xBC,0xC0,0xC4,0xA8,0xAC,0xB0,0xB4,0xB8,0xBC,0xC0,0xC4,
0xA4,0x50,0x54,0x58,0x5C,0x60,0x64,0xC8,0xA4,0x50,0x54,0x58,0x5C,0x60,0x64,0xC8,
0xA0,0x4C,0x18,0x1C,0x20,0x24,0x68,0xCC,0xA0,0x4C,0x18,0x1C,0x20,0x24,0x68,0xCC,
0x9C,0x48,0x14,0x00,0x04,0x28,0x6C,0xD0,0x9C,0x48,0x14,0x00,0x04,0x28,0x6C,0xD0,
0x98,0x44,0x10,0x0C,0x08,0x2C,0x70,0xD4,0x98,0x44,0x10,0x0C,0x08,0x2C,0x70,0xD4,
0x94,0x40,0x3C,0x38,0x34,0x30,0x74,0xD8,0x94,0x40,0x3C,0x38,0x34,0x30,0x74,0xD8,
0x90,0x8C,0x88,0x84,0x80,0x7C,0x78,0xDC,0x90,0x8C,0x88,0x84,0x80,0x7C,0x78,0xDC,
0xF8,0xF8,0xF4,0xF0,0xEC,0xE8,0xE4,0xE0,0xF8,0xF8,0xF4,0xF0,0xEC,0xE8,0xE4,0xE0
};
struct MapTable TransferTable[] =
{
"FILE", CYID_Transfer_Disk,
"MEMORY", CYID_Transfer_Memory,
"NONE", CYID_Transfer_None,
NULL, -1
};
struct MapTable RenderTable[] =
{
"FRAME", CYID_Render_Frame,
"CLEAR", CYID_Render_Clear,
"PLAIN", CYID_Render_None,
NULL, -1
};
VOID (* __regargs WriteLine)(struct RastPort *RPort,LONG Line,LONG Width,UBYTE *Buffer,struct RastPort *Temp);
VOID (* __regargs ReadLine)(struct RastPort *RPort,LONG Line,LONG Width,UBYTE *Buffer,struct RastPort *Temp);