g9k


reset()
Resets v9990

detect()
Detects v9990. 0 is error.

screen(mode,bit per dot,image size,interlace,palette ctrl reg)
Sets screen mode

displayEnable()
Enables the display

displayDisable()
disables the display

cmdWait()
Waits the command

palette(palette pointer,offset,length)
Sets the palette

setBackDropColor(color)
sets the back drop color

box(left,top,width,height,color)
Draws the filled box

line(left,top,width,height,color)
Draws the line

vram(address,addressH)
Sets vram address

vramRead(address,addressH)
Sets reading vram address

vpoke(value)
Writes vram

vpoke(value)
Writes vram

vpeek(value)
Reads vram

spritesEnable()
Enables sprite

spritesDisable()
Disables sprite

sprite(sprite number,x,y,flag,sprite pattern)
puts sprite

sgba(address)
Sets the sprite generator base address

copyRamToVram(pointer,length)
Copies ram to vram

copy(destX,destY,width,height,srcX,srcY)
Copies XY to XY

copyVramToVram(dest,destH,src,srcH,length,lengthH)
Copies vram to vram

lop(lop)
Sets the logical operation

arg(arg)
Sets the argment

writeMask(color)
Sets write mask color

scrollX(value)
Sets horizontal scroll

scrollY(value)
Sets vertical scroll

scrollXB(value)
Sets horizontal scroll layer-B

scrollYB(value)
Sets vertical scroll layer-B

setScrollMode(value)
Sets the scroll mode

bload(file)
loads the file to vram

fileBuffer()
sets the file buffer sizes

put(left,width,width,height,pointer)
puts graphic from memory. turboR only.

back