SPC8106 S-MOS Systems, SPC8106 Datasheet - Page 248

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
2.0
BIOS
The purpose of this document is to demonstrate how to initialize the SPC8106 into a mode similar
to IBM's Standard VGA mode 12h 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 12h video memory will work correctly.
; MODE12.ASM
;
; Programs the SPC8106FOC for 640x480 Single Color LCD panel.
; Sets up registers for mode 12h without the BIOS.
;
; This program assumes:
;
;
;
;**********************************************************************
;
; Instructions:
;
;
;
;
;
;
;
;**********************************************************************
Programming Notes and Examples
SP3-22
- Make your changes
- Assemble
- Link
- Make a .COM file
INITIALIZING THE SPC8106 IN MODE 12H WITHOUT A
- no external RAMDAC
- chip enable at port 3c3h.
- memory refresh 4ms
S-MOS Systems, Inc. • Tel: (408) 922-0200 • Fax: (408) 922-0238 • http://www.smos.com
Enabling the SPC8106
Unlocking the Auxiliary Port
Setting up the SPC8106 panel specific registers
In this case for a Single STN, Color 640x480 LCD panel
Setting up the Standard VGA registers for Mode 12h
Setting up the attribute registers
Initializing the RAMDAC values
Clearing Video Memory
--
--
link mode12;
--
masm mode12.asm;
exe2bin mode12.exe mode12.com
X12-AN-003-02
411-1.0
SPC8106

Related parts for SPC8106