SPC8104 S-MOS Systems, SPC8104 Datasheet - Page 177

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
;----------------------------------------------------------------------
;
;
;
;----------------------------------------------------------------------
Mode12ENDP
;**********************************************************************
;
;
;
;
;**********************************************************************
Step1:
SPC8104
You should now be running as MODE 12h without BIOS support.
STEP1 - Before ANY ports can be accessed, the SPC8104 chip must be
412-1.0
mov
mov
sti
call
call
; at this point, all the registers are accessible, we need to
; program Auxilliary registers according to panel size, memory,
; and some preferences...
call
; at this point all registers are fully accessible
call
call
call
call
mov
int
mov
mov
out
ret
enabled.
S-MOS Systems, Inc. • Tel: (408) 922-0200 • Fax: (408) 922-0238 • http://www.smos.com
ss, ax
sp, 0FFFFh
Step1
Step2
Step3
Step4
Step5
Step6
Step7
ax, 4C00h
21h
dx,3c3h
al,1
dx,al
;
;
; Stack change done - restore interupts.
; Enable SPC8104 chip.
; Unlock the Aux port.
; Setup for the panel and enviroment.
; Setup the standard VGA registers.
; Setup the attribute registers.
; Blow the DAC with mode 12h colors.
; Clear VRAM - just to be nice.
; DOS - Exit with Return Code.
; This gives us a clean exit under
;
MS-DOS.
Programming Notes and Examples
SP3-23

Related parts for SPC8104