SPC8104 S-MOS Systems, SPC8104 Datasheet - Page 181

no-image

SPC8104

Manufacturer Part Number
SPC8104
Description
VGA LCD CONTROLLER
Manufacturer
S-MOS Systems
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SPC8104F0A
Manufacturer:
EPSON
Quantity:
586
;**********************************************************************
;
;
;
;
;
;
;**********************************************************************
Step5:
@@:
AttribTable:
SPC8104
STEP5 - Program Attribute controller.
Reset Index/Data Flip Flop of Attribute controller.
Write attributes information.
412-1.0
mov
in
mov
mov
mov
mov
mov
out
inc
lodsb
out
loop
mov
mov
out
ret
db
db
db
S-MOS Systems, Inc. • Tel: (408) 922-0200 • Fax: (408) 922-0238 • http://www.smos.com
dx, 3DAh
al, dx
si, offset AttribTable
dx, 3C0h
cx, 14h
bx, 0h
ax, bx
dx, al
bx
dx, al
@B
al, 20h
dx, 3C0h
dx, al
00h, 01h, 02h, 03h, 04h, 05h, 14h, 07h
38h, 39h, 3Ah, 3Bh, 3Ch, 3Dh, 3Eh, 3Fh
01h, 00h, 0Fh, 00h, 00h
; al = enable palette bit
; enable palette
; Set attributes register to index.
;
;
; Write to 14h registers.
; Use BX as the index counter.
; Set the next index.
;
;
; Read the next byte.
; Write the next data.
Programming Notes and Examples
SP3-27

Related parts for SPC8104