SPC8104 S-MOS Systems, SPC8104 Datasheet - Page 160

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
MODE3 PROC
;----------------------------------------------------------------------
;
;
;
;----------------------------------------------------------------------
MODE3 ENDP
Message:
Programming Notes and Examples
SP3-6
You should now be running as MODE 3 without BIOS support.
ORG
cld
mov
mov
mov
cli
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, following
; is a standard VGA stuff
call
call
call
call
call
mov
call
mov
int
DB 'MODE3.COM : Program to initialize SPC8104 registers for '
DB '8x8 font text mode without BIOS.',0
S-MOS Systems, Inc. • Tel: (408) 922-0200 • Fax: (408) 922-0238 • http://www.smos.com
100h
ax, cs
ds, ax
es, ax
ss, ax
sp, 0FFFFh
Step1
Step2
Step3
Step4
Step5
Step6
Step7
Step8
si,offset Message
TextOut
ax, 4C00h
21h
; needed for .COM files.
; Set the direction flag.
; Ensure that DS and ES point to this sement.
;
;
; Interupts off while changing the stack.
;
;
; Stack change done - restore interupts.
; Enable SPC8104 chip.
; Unlock the Aux port.
; Setup for the panel and enviroment.
; Setup the standard VGA registers.
; Load the font.
; Blow the DAC with mode 3 colors.
; Setup the attribute registers.
; Clear VRAM
; show we are up and running
; DOS - Exit with Return Code.
; This gives us a clean exit under
;
MS-DOS.
412-1.0
SPC8104

Related parts for SPC8104