SPC8106 S-MOS Systems, SPC8106 Datasheet - Page 231

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
1.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 3 by supplying sample code. The steps involved in this are:
The resulting mode is not BIOS supported, so no DOS text will work, however, writing to the
memory location B800:0000 values 41 07 will put a white letter A in the top left corner.
; MODE3.ASM
;
; Programs the SPC8106 for dual monochrome 640x480 LCD panels.
;
; Sets up registers for mode 3 without the BIOS.
; The code ignores power down issues.
; The code assumes 4ms memory refresh clock.
;
;**********************************************************************
;
; Instructions:
;
;
;
;
;
;
;
; Note:
;
;
SPC8106
- Make your changes
- Assemble
- Link
- Make a .COM file
411-1.0
INITIALIZING THE SPC8106 IN MODE 03H WITHOUT A
This code was compiled using MS MASM 5.1
Enabling the SPC8106
Unlocking the Auxiliary Port
Setting up the SPC8106 panel specific registers
In this case for a Dual STN, Monochrome 640x480 LCD panel
Setting up the Standard VGA registers for Mode 3 (with the exception of only loading an 8 point font ver-
sus the 16 point font)
Loading the font into Memory (required for text mode only)
Initializing the RAMDAC values
Setting up the attribute registers
Initializing Video Memory
S-MOS Systems, Inc. • Tel: (408) 922-0200 • Fax: (408) 922-0238 • http://www.smos.com
--
--
link MODE3;
--
masm MODE3.asm;
exe2bin MODE3.exe MODE3.com
X12-AN-003-02
Programming Notes and Examples
SP3-5

Related parts for SPC8106