/////////////////////////////////////////
//    MAC 2000 PERFORMANCE- 16 bit version

// NOTE: This template will only work with maXim software version 0.97 or higher

Fixture
	manufacturer = "MARTIN"
	name = "Mac2kPm"
	version = 1.0
//  fullmanufacturer = "Martin"
//  fullname = "Mac 2000 Performance"
//  mode = e
//  description = ""

	Attribute
		name = "SHUTTER"
		channel = 1
		homeVal = 30

	Attribute
		name = "INTENSITY"
		channel = 2

	Attribute
		name = "CYAN"
		channel = 3
		homeVal = 0

	Attribute
		name = "MAGENTA"
		channel = 4
		homeVal = 0

	Attribute
		name = "YELLOW"
		channel = 5
		homeVal = 0

	Attribute
		name = "CTC"
		channel = 6
		homeVal = 0

	Attribute
		name = "GOBO1"
		channel = 7
		homeVal = 0

	Attribute
		name = "GOBO1<>"
		channel = 8
		fineChan = 9
		homeVal = 0

	Attribute
		name = "ANIMATE"
		channel = 10
		homeVal = 0

	Attribute
		name = "ANIM8<>"
		channel = 11
		homeVal = 0

	Attribute
		name = "EFFECTS"
		channel = 12
		homeVal = 0

	Attribute
		name = "IRIS"
		channel = 13
		homeVal = 0

	Attribute
		name = "FRAMEMACROS"
		channel = 14
		homeVal = 0

	Attribute
		name = "FOCUS"
		channel = 15
		homeVal = 128

	Attribute
		name = "ZOOM"
		channel = 16
		homeVal = 128

	attribute
		name = "FRAME1"
		channel = 17
		homeVal = 0
		
	attribute
		name = "FRAME1<>"
		channel = 18
		homeVal = 128
		
	attribute
		name = "FRAME2"
		channel = 19
		homeVal = 0
		
	attribute
		name = "FRAME2<>"
		channel = 20
		homeVal = 128
		
	attribute
		name = "FRAME3"
		channel = 21
		homeVal = 0
		
	attribute
		name = "FRAME3<>"
		channel = 22
		homeVal = 128
		
	attribute
		name = "FRAME4"
		channel = 23
		homeVal = 0
		
	attribute
		name = "FRAME4<>"
		channel = 24
		homeVal = 128
		
	attribute
		name = "FRAME<>"
		channel = 25
		homeVal = 128

	Attribute
		name = "PAN"
		channel = 26
		fineChan = 27
		homeVal = 32768

	Attribute
		name = "TILT"
		channel = 28
		fineChan = 29
		homeVal = 32768

	Attribute
		name = "PT SPEED"
		channel = 30
		homeVal = 0

	Attribute
		name = "FX SPEED"
		channel = 31
		homeVal = 0

///////////////////////////////////////////////////////////////

	Parameter
		name = "-PAN-"
		displayerNum = 1
		type = F
		attribList = 26
		stop = (M    0:65535),D,0,540,"Pan="

	Parameter
		name = "-TILT-"
		displayerNum = 2
		type = F
		attribList = 28
		stop = (M    0:65535),D,0,267,"Ti@="

	Parameter
		name = "-CYAN-"
		displayerNum = 3
		type = C
		attribList = 3
		stop = (M  0:255),2,"Cyan="

	Parameter
		name = "-MAGNTA-"
		displayerNum = 4
		type = C
		attribList = 4
		stop = (M  0:255),2,"Mgnta="

	Parameter
		name = "-YELLOW-"
		displayerNum = 5
		type = C
		attribList = 5
		stop = (M  0:255),2,"Yellow="

	Parameter
		name = "-CTC-"
		displayerNum = 6
		type = C
		attribList = 6
		stop = (M  0:255),2,"Ctc="

//------------------------------------

	Parameter
		name = "-GOBO1-"
		displayerNum = 7
		type = B
		attribList = 7
		stop = (   0:  9),N,"No Gobo1"
		stop = (  10: 14),N,"Gobo1.1"
		stop = (  15: 19),N,"Gobo1.2"
		stop = (  20: 24),N,"Gobo1.3"
		stop = (  25: 29),N,"Gobo1.4"
		stop = (  30: 34),N,"Gobo1.5"
		stop = (  35: 39),N,"Gobo1.1>"
		stop = (  40: 44),N,"Gobo1.2>"
		stop = (  45: 49),N,"Gobo1.3>"
		stop = (  50: 54),N,"Gobo1.4>"
		stop = (  55: 59),N,"Gobo1.5>"
		stop = (M 60: 74),1,"Shk1.1:"
		stop = (M 75: 89),1,"Shk1.2:"
		stop = (M 90:104),1,"Shk1.3:"
		stop = (M105:119),1,"Shk1.4:"
		stop = (M120:134),1,"Shk1.5:"
		stop = (M135:149),1,"RShk1.1:"
		stop = (M150:164),1,"RShk1.2:"
		stop = (M165:179),1,"RShk1.3:"
		stop = (M180:194),1,"RShk1.4:"
		stop = (M195:209),1,"RShk1.5:"
		stop = (M255:233),1,"G1Whl<:"
		stop = (M232:210),1,"G1Whl>:"

	Parameter
		name = "-GOBO1<>-"
		displayerNum = 8
		type = B
		attribList = 7,8
		stop = (R  0: 34, M    0:65535),2,"Gb1Idx="

		stop = (R 35: 59,      0:  512),N,"Gobo1Stop"
		stop = (R 35: 59, M  768:32512),2,"Gobo1<:"
		stop = (R 35: 59, M32768:64512),2,"Gobo1>:"

		stop = (R 60:134, M    0:65535),2,"Gb1Idx="

		stop = (R135:209,      0:  512),N,"Gobo1Stop"
		stop = (R135:209, M  769:32512),2,"Gobo1<:"
		stop = (R135:209, M32768:64512),2,"Gobo1>:"

	Parameter
		name = "-ANIMATE-"
		displayerNum = 9
		type = B
		attribList = 10
		stop = (   0:  9),N,"NoAnim8"
		stop = (  10: 19),N,"HorIndx"
		stop = (  20: 29),N,"VertIndx"
		stop = (  30: 39),N,"Horiz<>"
		stop = (  40: 49),N,"Vert<>"
		stop = (M 50:139),1,"H>VScrl:"
		stop = (M140:229),1,"V>HScrl:"
		stop = (R230:255),N,"NoAnim8"

	Parameter
		name = "-ANMIDX-"
		displayerNum = 10
		type = B
		attribList = 10,11
		
		stop = (R  0:  9,   0:255),N,"NoAnim8"
		
		stop = (R 10: 19,M  0:255),2,"A8HIdx="
		
		stop = (R 20: 29,M  0:255),2,"A8VIdx="
		
		stop = (R 30: 39,   0:  2),N,"A8NoRot"
		stop = (R 30: 39,M  3:127),2,"A8Hor<:"
		stop = (R 30: 39,M252:128),2,"A8Hor>:"
		stop = (R 30: 39, 253:255),N,"A8NoRot"

		stop = (R 40: 49,   0:  2),N,"A8NoRot"
		stop = (R 40: 49,M  3:127),2,"A8Ver<:"
		stop = (R 40: 49,M252:128),2,"A8Ver>:"
		stop = (R 40: 49, 253:255),N,"A8NoRot"

		stop = (R 50:139,M  0:255),2,"A8AIdx="
		
		stop = (R140:229,   0:  2),N,"A8NoRot"
		stop = (R140:229,M  3:127),2,"A8Ang<:"
		stop = (R140:229,M252:128),2,"A8Ang>:"
		stop = (R140:229, 253:255),N,"A8NoRot"

		stop = (R230:255,   0:255),N,"NoAnim8"

	parameter
		name = "-EFFECTS-"
		displayerNum = 11
		type = B
		attribList = 12
		stop = (   0:  0),N,"No Fx"		
		stop = (M  1:234),2,"Frost:"
		stop = ( 235:242),N,"Fx 1"
		stop = ( 243:250),N,"Fx 2"
		stop = (R251:255),N,"No Fx"

	Parameter
		name = "-IRIS-"
		displayerNum = 12
		type = B
		attribList = 13
		stop = ( 200:215),N,"Iris Clsd"
		stop = (M  0:199),2,"Iris:"
		stop = (M229:216),1,"PulseO:"
		stop = (M243:230),1,"PulseC:"
		stop = ( 247:249),N,"RndPulsOS"
		stop = ( 244:246),N,"RndPulsOF"
		stop = ( 253:255),N,"RndPulsCS"
		stop = ( 250:252),N,"RndPulsCF"	
		
/--------------------------------------------------------

	parameter
		name = "-FRAME1-"
		displayerNum = 13
		type = B
		attribList = 17,18 
		stop = (M  0:255,R  0:255),2,"Frm1:"
		stop = (R  0:255,M  0:255),2,"Fr1<>:"		

	parameter
		name = "-FRAME2-"
		displayerNum = 14
		type = B
		attribList = 19,20 
		stop = (M  0:255,R  0:255),2,"Frm2:"
		stop = (R  0:255,M  0:255),2,"Fr2<>:"

	parameter
		name = "-FRAME3-"
		displayerNum = 15
		type = B
		attribList = 21,22
		stop = (M  0:255,R  0:255),2,"Frm3:"
		stop = (R  0:255,M  0:255),2,"Fr3<>:"

	parameter
		name = "-FRAME4-"
		displayerNum = 16
		type = B
		attribList = 23,24 
		stop = (M  0:255,R  0:255),2,"Frm4:"
		stop = (R  0:255,M  0:255),2,"Fr4<>:"

	parameter
		name = "-FRM<>-"
		displayerNum = 17
		type = B
		attribList = 25
		stop = (M  0:255),2,"Frm<>="

	parameter
		name = "-MACROS-"
		displayerNum = 18
		type = B
		attribList = 14
		stop = (   0:  0),N,"No Macro"		
		stop = (M  1:255),2,"Macros:"

/--------------------------------------------------
		
	Parameter
		name = "-ZOOM-"
		displayerNum = 19
		type = B
		attribList = 16
		stop = (M  0:255),2,"Zoom="
		
	Parameter
		name = "-FOCUS-"
		displayerNum = 20
		type = F
		attribList = 15
		stop = (M  0:255),2,"Focus="

	Parameter
		name = "-SHUTTER-"
		displayerNum = 21
		type = B
		attribList = 1
		stop = (   0: 19),N,"Shtr Clsd"
		stop = (  20: 49),N,"Shtr Open"
		stop = (M 72: 50),1,"Strobe:"
		stop = (M 99: 80),1,"PulseO:"
		stop = (M119:100),1,"PulseC:"
		stop = ( 168:187),N,"Rnd Slow"
		stop = ( 148:167),N,"Rnd Med"
		stop = ( 128:147),N,"Rnd Fast"
		stop = ( 194:196),N,"RndPulsOS"
		stop = ( 191:193),N,"RndPulsOF"
		stop = ( 200:202),N,"RndPulsCS"
		stop = ( 197:199),N,"RndPulsCF"
		stop = (R203:255),N,"seeDisp24"

	Parameter
		name = "-PTSPEED-"
		displayerNum = 22
		type = F
		attribList = 30
		stop = (   0:  2),N,"PT Track"
		stop = (M242:  3),2,"PTspd:"
		stop = ( 243:245),N,"PT Slow"
		stop = ( 246:248),N,"PT Norm"
		stop = ( 249:251),N,"PT Fast"
		stop = ( 252:255),N,"MoveBlak"

	Parameter
		name = "-FXSPEED-"
		displayerNum = 23
		type = B
		attribList = 31
		stop = (   0:  2),N,"Fx Track"
		stop = (M239:  3),2,"FxSpd:"
		stop = ( 240:242),N,"FxSTUdOff"
		stop = ( 243:245),N,"FxSTUdOn"
		stop = ( 246:248),N,"FxSCUToff"
		stop = ( 249:251),N,"FxSCUTon"
		stop = ( 252:255),N,"FxBlack"

	Parameter
		name = "-CNTRL-"
		displayerNum = 24
		type = N
		attribList = 1
		stop = (R  0:  0),N,"Run Mode"
		stop = ( 248:255),N,"Lamp Off"
		stop = ( 228:237),N,"Lamp On"
		stop = ( 208:217),N,"Reset"
		stop = (R  0:255),N,"seeDisp21"

end

