#
# lg1_diagcmds - diagnostic functions specific to LIGHT graphics
#
# First column is the name
# Second column is the type:
#   STR for string
#   CMD for command
#   INT for integer constant
# Third column is value:
#   CMD value is the name of the function to call
#   STR value is the quoted string
#   INT value is the integer
# 
# Columns must be separated by exactly one TAB!
lg1_setboard	CMD	lg1_setboard	Set the current graphics board (usage: lg1_setboard 0|1)
lg1_block	CMD	block	Draw a block (usage: block x0 y0 x1 y1)
lg1_cmode	CMD	cmode	Use color index mode
lg1_color	CMD	setcolor	Set color index (usage: color index)
lg1_dither	CMD	ditherbit	Set/clear dither mode (usage: dither 0|1)
lg1_line	CMD	line	Draw a line (usage: line x0 y0 x1 y1)
lg1_logicop	CMD	logicop	Set the logicop (usage: logicop mask)
lg1_planes	CMD	planes	Select bitplanes (usage: planes code)
lg1_point	CMD	point	Draw a point (usage: point x y)
lg1_rgbcolor	CMD	rgbcolor	Set RGB color (usage: rgbcolor r g b)
lg1_rgbmode	CMD	rgbmode	Use RGB mode
lg1_span	CMD	span	Draw a span (usage: span x0 y0 x1)
lg1_writemask	CMD	writemask	Set the writemask (usage: writemask mask)
lg1_xywin	CMD	xywinorg	Set xy origin (usage: xywin x y)
lg1_rrex	CMD	rrex	Read REX register (usage: rrex REX_reg_offset)
lg1_wrex	CMD	wrex	Write REX register (usage: wrex REX_reg_offset data)
lg1_rexregs	CMD	test_rex	REX register r/w test
lg1_vram	CMD	test_vram	Test VRAM
lg1_cid	CMD	test_dram	Test CID DRAM
lg1_rvc1	CMD	rvc1	Read VC1 register (usage: rvc1 cmd VC1_offset)
lg1_wvc1	CMD	wvc1	Write VC1 register (usage: wvc1 cmd VC1_offset data)
lg1_vc1regs	CMD	test_vc1	VC1 register r/w test
lg1_sram	CMD	lg1_test_sram	VC1 SRAM test
lg1_rsysctl	CMD	rsysctl	Read the VC1 SYS_CTL register
lg1_wsysctl	CMD	wsysctl	Set the VC1 SYS_CTL register (usage: wsysctl data)
lg1_cursor	CMD	vc1cursor	Move cursor (usage: vc1cursor x y)
lg1_curmode	CMD	cursormode	Set VC1 cursor mode (usage: cursormode mode)
lg1_rdac	CMD	rbt	Read Bt479 register (usage: rbt element)
lg1_wdac	CMD	wbt	Write Bt479 register (usage: wbt element data)
lg1_dac	CMD	btdactest	Test dac
lg1_patterns	CMD	rexpatterns	Test rex with patterns
lg1_bars	CMD	bars	Display color bars (usage: bars [width])
lg1_probe	CMD	Lg1ProbeAll	Probe for LG1 graphics
lg1_decreadrdma	CMD	lg1_decreadr_dma	Test VDMA GIO64 decr addr (usage: lg1_decreadrdma [npixels] [rtest] [cache_flush])
lg1_cachefdma	CMD	lg1_cacheflush_dma	Test cache flushing VDMA (usage: lg1_cachefdma [npixels] [rtest])
lg1_yzoomdma	CMD	lg1_yzoom_dma	Test y-zoomed VDMA (usage: lg1_yzoomdma [npixels][yzoom][flush_cache])
lg1_stridedma	CMD	lg1_linestride_dma	Test positive/negative stride VDMA (usage: lg1_stridedma [width][stride][flush_cache])
lg1_mfilldma	CMD	lg1_dmafill	Test fill-mode memory write (usage:lg1_mfilldma [nwords][nrows][value])
lg1_sbdma	CMD	lg1_skipbyte	Test none-zero SB DMA (usage:lg1_sbdma [width][skip_byte][flush_cache])
lg1_video	CMD	lg1_video	Starter Video board diagnostics
