home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
utility
/
splitit
/
splititr.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-06
|
11KB
|
205 lines
#include <aes.h>
static char p_to_nul[1] = "";
TEDINFO rs_tedinfo[] = {
{"SplitIt V1.1", p_to_nul, p_to_nul,
3, 0, 2, 4481, 0, 1, 13, 1},
{"(c) 1990 Spieu!Soft", p_to_nul, p_to_nul,
3, 0, 2, 4481, 0, 1, 20, 1},
{p_to_nul, "$2 Shareware... Gregory M. Lemperle-Kerr", p_to_nul,
5, 0, 0, 4481, 0, 0, 1, 41},
{p_to_nul, "2516 31st Ave. Ct., Moline IL 61265, USA", p_to_nul,
5, 0, 0, 4481, 0, 0, 1, 41},
{p_to_nul, "Created With:", p_to_nul,
5, 0, 0, 4481, 0, 0, 1, 14},
{"0064", "Smallest file in K: ____", "9",
3, 0, 0, 4481, 0, 0, 5, 25},
{p_to_nul, "Currently working with:", p_to_nul,
5, 0, 0, 4593, 0, 0, 1, 24}
};
ICONBLK rs_iconblk[] = {
0L
};
int bbk000[] = {
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0003,0xf000,0x0000,0x0000,0x0000,0x0000,
0x000e,0x1800,0x0000,0x0006,0x0000,0x0000,0x0018,0x0c00,
0x0000,0x000c,0x0000,0x0000,0x0030,0x0200,0x0000,0x0070,
0x0070,0x0000,0x0060,0x0180,0x0000,0x00c0,0x00d0,0x0000,
0x00c0,0x00e0,0x0000,0x0380,0x0110,0x0000,0x0080,0x003c,
0x0000,0x0e00,0x0113,0x1800,0x0180,0x0007,0xe000,0x3800,
0x010f,0x3800,0x0100,0x0000,0x3fff,0xe000,0x010d,0x2800,
0x0100,0x0000,0x0000,0x0000,0x0108,0xc800,0x0100,0x0000,
0x0000,0x0000,0x0118,0xc800,0x0100,0x0000,0x0000,0x0000,
0x0010,0x8800,0x0100,0x0030,0x0000,0x0030,0x0011,0x8800,
0x0100,0x2670,0xf010,0x8230,0x0033,0x1800,0x0100,0x7e51,
0xf079,0xf230,0x0023,0x1000,0x0102,0x4451,0xc8c9,0x2220,
0x0027,0x1000,0x0186,0x4451,0x888f,0x6220,0x0046,0x2000,
0x00ce,0x8453,0x0988,0x4660,0x00cc,0x2000,0x003d,0x8477,
0x99c8,0x47e0,0x00c8,0x4000,0x0004,0x07cc,0xfb68,0x4f20,
0x0198,0xc000,0x0004,0x0000,0x0e30,0x7820,0x0110,0x8000,
0x0004,0x0000,0x0c00,0x0020,0x0230,0x8000,0x0004,0x0000,
0x1c00,0x0020,0x0220,0x8200,0x000c,0x0000,0x3400,0x0020,
0x0000,0xe000,0x0008,0x0fff,0xe400,0x0020,0x0000,0x0000,
0x0008,0x3600,0x6400,0x0020,0x0000,0x0000,0x0010,0x6000,
0x3c00,0x0030,0x0000,0x0000,0x0030,0xc000,0x1803,0xff10,
0x0000,0x0000,0x0027,0x0000,0x0ffc,0x01f0,0x0000,0x0000,
0x0064,0x0000,0x0000,0x0030,0x0000,0x0000,0x0058,0x0000,
0x0000,0x0010,0x0000,0x0000,0x0070,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x000e,0x0000,0x0000,0x0000,0x0000,0x0000,0x000a,
0x0000,0x0000,0x0000,0x0000,0x0000,0x000a,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0012,0x0000,0x0001,0x8000,0x0000,
0x0000,0x0012,0x0000,0x0002,0xc000,0x0000,0x0000,0x0012,
0x0000,0x0002,0x4000,0x0000,0x0000,0x0012,0x0000,0x0002,
0x4000,0x0000,0x0000,0x0014,0x0000,0x0002,0x4000,0x0000,
0x0000,0x01f8,0x0000,0x0002,0x4000,0x0000,0x0000,0x0010,
0x0000,0x0002,0x4000,0x0000,0x0000,0x0010,0x0000,0x0003,
0x4000,0x0000,0x0000,0x0010,0x0000,0x0001,0x5c00,0xf800,
0x0000,0x0011,0xc000,0x4701,0xd400,0x0000,0x0000,0x0011,
0x4671,0xe570,0x9400,0x0000,0x0000,0x01cb,0x47d3,0xb550,
0xd400,0x0000,0x0000,0x016b,0x4ad3,0x9650,0xdc00,0x0000,
0x0000,0x0131,0xcad7,0x96d1,0x6c20,0x0000,0x0000,0x017d,
0xf21d,0x969b,0x2c60,0x0000,0x0000,0x01c7,0x0001,0xff0e,
0x3f80,0x0000,0x0000,0x0000,0x0001,0x8000,0x0000,0x0000,
0x0000,0x0000,0x0001,0x8000,0x0000,0x0000,0x0000,0x0000,
0x0001,0x8000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0f80,0x0000,
0x0000,0x0000,0x0000,0x0000,0x38c0,0x0000,0x0000,0x0000,
0x0000,0xe000,0x6040,0x0000,0x0000,0x0000,0x0003,0xa000,
0xc020,0x0000,0x0000,0x0000,0x0002,0x2001,0x8030,0x0000,
0x0000,0x0000,0x0002,0x2002,0x0010,0x0000,0x0000,0x0000,
0x0002,0x2006,0x0010,0x0000,0x0000,0x0000,0x0003,0x200c,
0x0018,0x0000,0x0000,0x0000,0x0000,0x2030,0x0008,0x0000,
0x0000,0x0000,0x0000,0x20e0,0x0008,0x0000,0x0000,0x0000,
0x0000,0x6180,0x0008,0x0000,0x0000,0x0000,0x0000,0x4300,
0x0004,0x0000,0x0000,0x0000,0x0000,0x8600,0x0004,0x0000,
0x0000,0x0000,0x0000,0x8400,0x0004,0x0000,0x0000,0x0000,
0x0000,0x9c00,0x0004,0x0000,0x0000,0x0000,0x0001,0xf03e,
0x3c04,0x0000,0x0000,0x0000,0x0001,0x8f24,0x2408,0x0000,
0x0000,0x0000,0x0003,0x4924,0x4c18,0x0000,0x0000,0x0000,
0x0002,0x5128,0x4810,0x0000,0x0000,0x0000,0x0006,0x5368,
0xc830,0x0000,0x0000,0x0000,0x0004,0x5ec9,0x88c0,0x0000,
0x0000,0x0000,0x0004,0x7f87,0x0f00,0x0000,0x0000,0x0000,
0x000c,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000
};
BITBLK rs_bitblk[] = {
{bbk000, 0x000c, 0x005a, 0x0000, 0x0000, 0x0001}
};
OBJECT rs_object[] = {
/* Tree #0*/
{ -1, 1, 6,0x0019,0x0000,0x0000, 0x00000000L, 0, 0, 90, 25},
{ 6, 2, 2,0x0014,0x0000,0x0000, 0x00001100L, 0, 0, 90, 513},
{ 1, 3, 5,0x0019,0x0000,0x0000, 0x00000000L, 2, 0, 21, 769},
{ 4, -1, -1,0x0020,0x0000,0x0000, (long)" Desk ", 0, 0, 6, 769},
{ 5, -1, -1,0x0020,0x0000,0x0000, (long)" File ", 6, 0, 6, 769},
{ 2, -1, -1,0x0020,0x0000,0x0000, (long)" Utility ", 12, 0, 9, 769},
{ 0, 7, 23,0x0019,0x0000,0x0000, 0x00000000L, 0, 769, 40, 19},
{ 16, 8, 15,0x0014,0x0000,0x0000, 0x00ff1100L, 2, 0, 20, 8},
{ 9, -1, -1,0x001c,0x0000,0x0000, (long)" SplitIt 1.1 ", 0, 0, 20, 1},
{ 10, -1, -1,0x001c,0x0000,0x0008, (long)"--------------------", 0, 1, 20, 1},
{ 11, -1, -1,0x001c,0x0000,0x0000, (long)"1", 0, 2, 20, 1},
{ 12, -1, -1,0x001c,0x0000,0x0000, (long)"2", 0, 3, 20, 1},
{ 13, -1, -1,0x001c,0x0000,0x0000, (long)"3", 0, 4, 20, 1},
{ 14, -1, -1,0x001c,0x0000,0x0000, (long)"4", 0, 5, 20, 1},
{ 15, -1, -1,0x001c,0x0000,0x0000, (long)"5", 0, 6, 20, 1},
{ 7, -1, -1,0x001c,0x0000,0x0000, (long)"6", 0, 7, 20, 1},
{ 23, 17, 22,0x0014,0x0000,0x0000, 0x00ff1100L, 8, 0, 20, 6},
{ 18, -1, -1,0x001c,0x0000,0x0000, (long)" Q Quit ", 0, 4, 20, 1},
{ 19, -1, -1,0x001c,0x0000,0x0000, (long)" S SplitIt! ", 0, 1, 20, 1},
{ 20, -1, -1,0x001c,0x0000,0x0008, (long)"--------------------", 0, 0, 20, 1},
{ 21, -1, -1,0x001c,0x0000,0x0008, (long)"--------------------", 0, 3, 20, 1},
{ 22, -1, -1,0x001c,0x0000,0x0000, (long)" J JoinIt! ", 0, 2, 20, 1},
{ 16, -1, -1,0x001c,0x0000,0x0008, (long)"--------------------", 0, 5, 20, 1},
{ 6, 24, 29,0x0014,0x0000,0x0000, 0x00ff1100L, 14, 0, 20, 6},
{ 25, -1, -1,0x001c,0x0000,0x0000, (long)" 3 Utility 3 ", 0, 4, 20, 1},
{ 26, -1, -1,0x001c,0x0000,0x0000, (long)" B Binary->C ", 0, 1, 20, 1},
{ 27, -1, -1,0x001c,0x0000,0x0008, (long)"--------------------", 0, 0, 20, 1},
{ 28, -1, -1,0x001c,0x0000,0x0000, (long)" 2 Utility 2 ", 0, 3, 20, 1},
{ 29, -1, -1,0x001c,0x0000,0x0000, (long)" 1 Utility 1 ", 0, 2, 20, 1},
{ 23, -1, -1,0x001c,0x0020,0x0008, (long)"--------------------", 0, 5, 20, 1},
/* Tree #1*/
{ -1, 1, 1,0x0014,0x0000,0x0000, 0x000211f1L,1792,2560, 36, 17},
{ 0, 2, 15,0x0014,0x0000,0x0000, 0x00011141L, 1,2048, 34, 16},
{ 4, 3, 3,0x0014,0x0000,0x0000, 0x000111b1L, 1,2048, 32,2050},
{ 2, -1, -1,0x0016,0x0000,0x0000, (long)&rs_tedinfo[0], 1,2048, 30,2049},
{ 6, 5, 5,0x0014,0x0000,0x0000, 0x000111d1L, 1,2051, 32,2050},
{ 4, -1, -1,0x0016,0x0000,0x0000, (long)&rs_tedinfo[1], 1,2048, 30,2049},
{ 9, 7, 8,0x0014,0x0000,0x0000, 0x000111e1L, 1,2054, 32, 2},
{ 8, -1, -1,0x001d,0x0008,0x0000, (long)&rs_tedinfo[2], 1,2048, 30,2048},
{ 6, -1, -1,0x001d,0x0008,0x0000, (long)&rs_tedinfo[3], 1, 1, 30,2048},
{ 11, 10, 10,0x0014,0x0000,0x0020, 0x00011181L,1025, 9, 15,2054},
{ 9, -1, -1,0x0017,0x0043,0x0000, (long)&rs_bitblk[0], 1,2048, 13,2053},
{ 15, 12, 14,0x0014,0x0000,0x0000, 0x00011181L,1042, 9,1038,2051},
{ 13, -1, -1,0x001d,0x0008,0x0000, (long)&rs_tedinfo[4],1024,2048,1034,2048},
{ 14, -1, -1,0x001c,0x0000,0x0000, (long)"WERCS 1.16", 2, 1, 10, 1},
{ 11, -1, -1,0x001c,0x0000,0x0000, (long)"Turbo C 1.1", 2, 2, 11, 1},
{ 1, -1, -1,0x001a,0x0025,0x0000, (long)"Ayudame", 19, 13, 14,2050},
/* Tree #2*/
{ -1, 1, 10,0x0014,0x0000,0x0000, 0x00021191L,1793,2560, 32, 15},
{ 3, 2, 2,0x0014,0x0047,0x0020, 0x00011181L,1025,2048, 29, 2},
{ 1, -1, -1,0x001c,0x0000,0x0000, (long)"SplitIt V1.1", 8,2048,1036, 1},
{ 10, 4, 9,0x0014,0x0000,0x0010, 0x00011181L,1025, 3, 29,2055},
{ 5, -1, -1,0x001c,0x0000,0x0000, (long)"SplitIt splits large files",1025,2048, 26, 1},
{ 6, -1, -1,0x001c,0x0000,0x0000, (long)"into smaller parts for up",1025,2049, 25, 1},
{ 7, -1, -1,0x001c,0x0000,0x0000, (long)"and downloading on lines",1025,2050, 24, 1},
{ 8, -1, -1,0x001c,0x0000,0x0000, (long)"which are temperamental.",1025,2051, 24, 1},
{ 9, -1, -1,0x001c,0x0000,0x0000, (long)"JoinIt will piece the file",1025, 5, 26, 1},
{ 3, -1, -1,0x001c,0x0000,0x0000, (long)"together given part 0.",1025, 6, 22, 1},
{ 0, 11, 12,0x0014,0x0000,0x0010, 0x00011181L,1025, 11, 29, 3},
{ 12, -1, -1,0x001c,0x0000,0x0000, (long)"Binary to C converts", 2,2048, 20, 1},
{ 10, -1, -1,0x001c,0x0020,0x0000, (long)"binaries to C source code", 2,2049, 25, 1},
/* Tree #3*/
{ -1, 1, 1,0x0014,0x0040,0x0010, 0x000af181L, 769,2560,1052, 3},
{ 0, -1, -1,0x001d,0x006f,0x0000, (long)&rs_tedinfo[5],1026, 1, 24, 1},
/* Tree #4*/
{ -1, 1, 3,0x0014,0x0000,0x0000, 0x000511c1L, 769,2560, 28,2051},
{ 2, -1, -1,0x001c,0x0000,0x0000, (long)"FILENAME.EXT",1026,2049, 12, 1},
{ 3, -1, -1,0x001c,0x0000,0x0000, (long)"0000000",1042,2049, 7, 1},
{ 0, -1, -1,0x001d,0x0028,0x0000, (long)&rs_tedinfo[6],1026,2048, 18, 1}
};
int rs_trloc[] = {
0,
30,
46,
59,
61
};
OBJECT *rs_trindex[] = {
&rs_object[0],
&rs_object[30],
&rs_object[46],
&rs_object[59],
&rs_object[61]
};
#define NUM_TI 7
#define NUM_IB 0
#define NUM_BB 1
#define NUM_OBS 65
#define NUM_TREE 5
void fix_objects(void)
{
register int i;
for(i=0; i<NUM_OBS; i++)
rsrc_obfix(rs_object, i);
}