#  register settings tw9910
#  PHYTEC 2012, V1.2

#  set VM-008 PAL/NTSC
#  ========================================================
#  Default is 625 lines 50Hz input (mainly PAL)
#  for 525 lines 60Hz input (NTSC) uncomment all:

#0x45,0x07,0x02
#0x45,0x08,0x12			# 0x12  = 18 pixels V delay
#0x45,0x09,0xf0			# 0xf0  = 240 pixels V active
#0x45,0x0a,0x06			# 0x10  = 16 pixels H delay
#0x45,0x0b,0x06			# 0x2d0 = 720 pixels h active
     
#  set VM-008 Input
#  ========================================================
#  Default is Mux0 (CH0), Note: clear mux selection befor set new input

#0x45,0x02,0xc3,a		# clear mux selection
#0x45,0x02,0x00,o		# Mux0 selected (CH0)
#0x45,0x02,0x04,o		# Mux1 selected (CH1)
#0x45,0x02,0x08,o		# Mux2 selected (CH2)
#0x45,0x02,0x0c,o		# Mux3 selected (CH3), Composite decoding
#0x45,0x02,0x1c,o		# Mux3 selected (CH3), S-Video decoding

#  set VM-008 Output Control I
#  ========================================================
#  Default is 0x00, Note: VS = VCSYN / HS = HSYNC, polarity active low

#0x45,0x05,0x32			# default by driver, VS = VVALID, HS = DVALID, polarity active low
#0x45,0x05,0x22			# VS = FIELD polarity active low, for half frame mode 	
0x45,0x05,0xa2			# VS = FIELD polarity active high, for half frame mode	


# set VM-008 Brightness
#  ========================================================
#  Default is Brightness = 0x00, range [-128..127], Note: value in 2's complement

#0x45,0x10,0x80			# brightness = -128
#0x45,0x10,0x00			# brightness = 0 (default)
#0x45,0x10,0x7F			# brightness = 127


# set VM-008 Contrast
#  ========================================================
#  Default is Contrast = 0x64, range [0..3.98], Note: value * 0.0156 = contrast 

#0x45,0x11,0x00			# contrast = 0
#0x45,0x11,0x40			# contrast = 1
#0x45,0x11,0x64			# contrast = 1.56 (default)
#0x45,0x11,0xFF			# contrast = 3.98


# set VM-008 Saturation
#  ========================================================
#  Default Saturation U-Ratio = 0x80, range [0..200%], Note: value * 0.784% = U-Ratio
#  Default Saturation V-Ratio = 0x80, range [0..200%], Note: value * 0.784% = U-Ratio

#0x45,0x13,0x00			# saturation U-Ratio = 0%
#0x45,0x13,0x80			# saturation U-Ratio = 100% (default)
#0x45,0x13,0xFF			# saturation U-Ratio = 200%

#0x45,0x14,0x00			# saturation V-Ratio = 0%
#0x45,0x14,0x80			# saturation V-Ratio = 100% (default)
#0x45,0x14,0xFF			# saturation V-Ratio = 200%


# set VM-008 Hue (only for NTSC)
#  ========================================================
#  Default is Hue = 0x00, range [-36..36], Note: value in 2's complement

#0x45,0x10,0x80			# brightness = -36
#0x45,0x10,0x00			# brightness = 0 (default)
#0x45,0x10,0x7F			# brightness = 36


# set VM-008 Color Killer Mode
#  ========================================================
#  Default is Color Killer = normal, range [on,off]

#0x45,0x2C,0xFE,a			# color killer = normal (default)
#0x45,0x2C,0x01,o			# color killer = fast
