home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
625.lha
/
EPROMmer_v2
/
EPROMmer.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-02-08
|
33KB
|
1,088 lines
SHORT BorderVectors1[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border1 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors1, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText1 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"VPP check", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget VPPGad = {
NULL, /* next gadget */
156,159, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border1, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText1, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors2[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border2 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors2, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText2 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"No delay", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget FastGad = {
&VPPGad, /* next gadget */
223,188, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border2, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText2, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)259 /* pointer to user-definable data */
};
SHORT BorderVectors3[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border3 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors3, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText3 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Eprommer", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EprommerGad = {
&FastGad, /* next gadget */
223,173, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border3, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText3, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)258 /* pointer to user-definable data */
};
SHORT BorderVectors4[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border4 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors4, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText4 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"intEligent", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget IntelGad = {
&EprommerGad, /* next gadget */
22,188, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border4, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText4, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)257 /* pointer to user-definable data */
};
SHORT BorderVectors5[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border5 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors5, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText5 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"50ms pulse", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget FiftyMSGad = {
&IntelGad, /* next gadget */
22,172, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border5, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText5, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)256 /* pointer to user-definable data */
};
SHORT BorderVectors6[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border6 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors6, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText6 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Write byte", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget WriteByteGad = {
&FiftyMSGad, /* next gadget */
223,48, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border6, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText6, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors7[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border7 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors7, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText7 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Read byte", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget ReadByteGad = {
&WriteByteGad, /* next gadget */
223,33, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border7, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText7, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE RAMValSIBuff[4];
struct StringInfo RAMValSInfo = {
RAMValSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
4, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors8[] = {
0,0,
33,0,
33,9,
0,9,
0,0
};
struct Border Border8 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors8, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText8 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
39,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"RAM value", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget RAMVal = {
&ReadByteGad, /* next gadget */
223,18, /* origin XY of hit box relative to window TopLeft */
32,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border8, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText8, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
(APTR)&RAMValSInfo, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors9[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border9 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors9, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText9 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Compare EPROM", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget CompareGad = {
&RAMVal, /* next gadget */
223,97, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border9, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText9, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors10[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border10 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors10, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText10 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"62256", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP62256 = {
&CompareGad, /* next gadget */
290,143, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border10, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText10, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)520 /* pointer to user-definable data */
};
SHORT BorderVectors11[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border11 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors11, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText11 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"27512", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP27512 = {
&EP62256, /* next gadget */
290,128, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border11, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText11, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)519 /* pointer to user-definable data */
};
SHORT BorderVectors12[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border12 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors12, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText12 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"27256", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP27256 = {
&EP27512, /* next gadget */
223,143, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border12, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText12, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)518 /* pointer to user-definable data */
};
SHORT BorderVectors13[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border13 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors13, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText13 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"27128", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP27128 = {
&EP27256, /* next gadget */
223,128, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border13, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText13, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)517 /* pointer to user-definable data */
};
SHORT BorderVectors14[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border14 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors14, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText14 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"2764A", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP2764A = {
&EP27128, /* next gadget */
156,143, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border14, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText14, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)516 /* pointer to user-definable data */
};
SHORT BorderVectors15[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border15 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors15, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText15 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"2764", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP2764 = {
&EP2764A, /* next gadget */
156,128, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border15, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText15, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)515 /* pointer to user-definable data */
};
SHORT BorderVectors16[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border16 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors16, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText16 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"2732A", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP2732A = {
&EP2764, /* next gadget */
89,143, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border16, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText16, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)514 /* pointer to user-definable data */
};
SHORT BorderVectors17[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border17 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors17, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText17 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"2732", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP2732 = {
&EP2732A, /* next gadget */
89,128, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border17, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText17, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)513 /* pointer to user-definable data */
};
SHORT BorderVectors18[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border18 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors18, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText18 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"2716", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EP2716 = {
&EP2732, /* next gadget */
22,128, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border18, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText18, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
(APTR)512 /* pointer to user-definable data */
};
SHORT BorderVectors19[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border19 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors19, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText19 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Check EPROM", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget CheckGad = {
&EP2716, /* next gadget */
223,82, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border19, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText19, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors20[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border20 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors20, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText20 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Program EPROM", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget ProgramGad = {
&CheckGad, /* next gadget */
223,67, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border20, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText20, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors21[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border21 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors21, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText21 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Read EPROM", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget ReadGad = {
&ProgramGad, /* next gadget */
22,97, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border21, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText21, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors22[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border22 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors22, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText22 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Save File", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget SaveGad = {
&ReadGad, /* next gadget */
22,82, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border22, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText22, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
SHORT BorderVectors23[] = {
0,0,
17,0,
17,9,
0,9,
0,0
};
struct Border Border23 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors23, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText23 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
22,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Load File", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget LoadGad = {
&SaveGad, /* next gadget */
22,67, /* origin XY of hit box relative to window TopLeft */
16,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Border23, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText23, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE EPROMLowSIBuff[6];
struct StringInfo EPROMLowSInfo = {
EPROMLowSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
6, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors24[] = {
0,0,
49,0,
49,9,
0,9,
0,0
};
struct Border Border24 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors24, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText24 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
53,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"EPROM address", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget EPROMLow = {
&LoadGad, /* next gadget */
22,33, /* origin XY of hit box relative to window TopLeft */
48,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border24, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText24, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
(APTR)&EPROMLowSInfo, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE LengthSIBuff[6];
struct StringInfo LengthSInfo = {
LengthSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
6, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors25[] = {
0,0,
49,0,
49,9,
0,9,
0,0
};
struct Border Border25 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors25, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText25 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
53,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"Number of bytes", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget Length = {
&EPROMLow, /* next gadget */
22,48, /* origin XY of hit box relative to window TopLeft */
48,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border25, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText25, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
(APTR)&LengthSInfo, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE RAMLowSIBuff[6];
struct StringInfo RAMLowSInfo = {
RAMLowSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
6, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors26[] = {
0,0,
49,0,
49,9,
0,9,
0,0
};
struct Border Border26 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors26, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText26 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
53,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
"RAM address", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget RAMLow = {
&Length, /* next gadget */
22,18, /* origin XY of hit box relative to window TopLeft */
48,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border26, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText26, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
(APTR)&RAMLowSInfo, /* SpecialInfo structure */
NULL, /* user-definable data */
NULL /* pointer to user-definable data */
};
#define GadgetList1 RAMLow
struct NewWindow NewWindowStructure1 = {
113,0, /* window XY origin relative to TopLeft of screen */
380,200, /* window width and height */
0,1, /* detail and block pens */
GADGETDOWN+GADGETUP+CLOSEWINDOW, /* IDCMP flags */
WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+NOCAREREFRESH, /* other window flags */
&RAMLow, /* first gadget in gadget list */
NULL, /* custom CHECKMARK imagery */
"EPROMer", /* window title */
NULL, /* custom screen pointer */
NULL, /* custom bitmap */
5,5, /* minimum width and height */
-1,-1, /* maximum width and height */
WBENCHSCREEN /* destination screen type */
};
/* end of PowerWindows source generation */