Epson S1D13505 Technical Manual page 209

Embedded ramdac lcd/crt controller
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
Function
seGetLastUsableByte
seGetBytesPerScanline
seGetScreenSize
seSelectBusWidth
seGetHostBusWidth
seDisplayEnable
seDisplayFifo
seDelay
seGetLinearDispAddr
seSplitInit
seSplitScreen
seVirtInit
seVirtMove
seSetReg
seSetWordReg
seSetDwordReg
seGetReg
seGetWordReg
seGetDwordReg
seWriteDisplayBytes
seWriteDisplayWords
seWriteDisplayDwords
seReadDisplayByte
seReadDisplayWord
seReadDisplayDword
seSetLut
seGetLut
seSetLutEntry
seGetLutEntry
seSetBitsPerPixel
seGetBitsPerPixel
seSetPixel
seGetPixel
seDrawLine
seDrawRect
seDrawEllipse
seDrawCircle
seInitCursor
Programming Notes and Examples
Issue Date: 01/02/05
Table 11-1: HAL Functions (Continued)
Determine the offset of the last unreserved usable byte in the display buffer
Determine the number of bytes or memory consumed per scan line in current mode
Determine the height and width of the display surface in pixels
Select the bus width on the ISA evaluation card
Determine the bus width set in the HAL_STRUCT
Turn the display(s) on/off
Turn the FIFO on/off
Use the frame rate timing to delay for required seconds (requires registers to be initialized)
Get a pointer to the logical start address of the display buffer
Advanced HAL Functions:
Initialize split screen variables and setup start addresses
Set the size of either the top or bottom screen
Initialize virtual screen mode setting x and y sizes
pan/scroll the virtual screen surface(s)
Register / Memory Access:
Write a Byte value to the specified S1D13505 register
Write a Word value to the specified S1D13505 register
Write a Dword value to the specified S1D13505 register
Read a Byte value from the specified S1D13505 register
Read a Word value from the specified S1D13505 register
Read a Dword value from the specified S1D13505 register
Write one or more bytes to the display buffer at the specified offset
Write one or more words to the display buffer at the specified offset
Write one or more dwords to the display buffer at the specified offset
Read a byte from the display buffer from the specified offset
Read a word from the display buffer from the specified offset
Read a dword from the display buffer from the specified offset
Color Manipulation:
Write to the Look-Up Table (LUT) entries starting at index 0
Read from the LUT starting at index 0
Write one LUT entry (red, green, blue) at the specified index
Read one LUT entry (red, green, blue) from the specified index
Set the color depth
Determine the current color depth
Drawing:
Draw a pixel at (x,y) in the specified color
Read pixel's color at (x,y)
Draw a line from (x1,y1) to (x2,y2) in specified color
Draw a rectangle from (x1,y1) to (x2,y2) in specified color
Draw an ellipse centered at (xc,yc) of radius (xr,yr) in specified color
Draw a circle centered at (x,y) of radius r in specified color
Hardware Cursor:
Initialize hardware cursor registers and variables for use; enable cursor
Description
Page 55
S1D13505
X23A-G-003-07

Advertisement

Table of Contents
loading

Table of Contents