SPC8106 S-MOS Systems, SPC8106 Datasheet - Page 259

no-image

SPC8106

Manufacturer Part Number
SPC8106
Description
LCD/CRT VGA CONTROLLER
Manufacturer
S-MOS Systems
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SPC8106F
Quantity:
5 510
Part Number:
SPC8106F
Quantity:
5 510
Part Number:
SPC8106F0C
Manufacturer:
EPSON
Quantity:
912
Part Number:
SPC8106FOB
Manufacturer:
EPSON
Quantity:
430
Part Number:
SPC8106FOC
Manufacturer:
OMRON
Quantity:
2 000
3.0
BIOS
The purpose of this document is to demonstrate how to initialize the SPC8106 into a mode similar
to VESA SVGA mode 101h (640x480x256 colors) by supplying sample code. The steps involved
in this are:
The resulting mode is not BIOS supported, so no DOS text will work, however, routines devel-
oped to write pixels without the BIOS into mode 101h video memory will work correctly. For more
information on paging for this mode, please refer to the SPC8106 Hardware Functional Specifica-
tion.
; MODE101.ASM
;
; Programs the SPC8106FOC for 640x480 Dual Color LCD panel.
; Sets up registers for hirez 256 colour mode (mode "101h") without the BIOS.
;
; This program assumes:
;
;
;
;
;**********************************************************************
;
; Instructions:
;
;
;
;
;
;
;
SPC8106
- Make your changes
- Assemble
- Link
- Make a .COM file
411-1.0
INITIALIZING THE SPC8106 IN MODE 101H WITHOUT A
- no external RAMDAC
- chip enable at port 3c3h.
- memory refresh 4ms
Enabling the SPC8106
Unlocking the Auxiliary Port
Setting up the SPC8106 panel specific registers
In this case for a Dual STN, Color 640x480 LCD panel
Setting up the Standard VGA registers for Mode 101h
Setting up the attribute registers
Initializing the RAMDAC values to values used for Mode 13h
Initializing Video Memory
S-MOS Systems, Inc. • Tel: (408) 922-0200 • Fax: (408) 922-0238 • http://www.smos.com
--
--
link mode101;
--
masm mode101.asm;
exe2bin mode101.exe mode101.com
X12-AN-003-02
Programming Notes and Examples
SP3-33

Related parts for SPC8106