EasyManua.ls Logo

Atari ST series - Page 379

Atari ST series
420 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The Intelligent Keyboard Controller
$80 Reset
T his co m m a n d p e rfo rm s a sim p le self-test, a n d re tu rn s th e k eyb oard co n
tro ller to its d efau lt m o d e a n d p a r am e te r s e ttin gs . It d o e s n o t affect th e
clock settin g s.
Input parameters
Byte
Number Description
1 A v alu e o f 1. A n y o th e r v alu e ca u s e s th e re se t co m m an d to be
ig n o red .
IKBD Status Commands
M an y o f th e IK BD se ttin g co m m a n d s h a v e c orre sp o n d in g sta tu s in qu iry
co m m a n d s. T h ese co m m an d s cau se th e IK BD to se nd an in fo rm atio n
p ac k e t th a t tells a b o u t th e c u rr e n t s ettin g , ra th e r th an ch an g in g it. T h eir
co m m a n d n u m b ers are fo rm ed b y a d d in g $ 80 to th e o rigina l se ttin g co m
m an d n u m b er. T h e retu rn ed re sp o n s e s are d e s ig n ed to im itate th e form a t
o f th e o rig in al se ttin g co m m a n d s, so if th e sta tu s p ack e t h e ad e r b y te ($F 6)
a t th e b eg in n in g is strip p ed a w a y , th e re st o f th e p ack et m ay b e se n t back
to th e IK BD as a co m m an d w h ich re sto re s th e orig in al settin g. A ll sta tu s
rep o rts are p ad d e d to eig h t b y tes in le n gth , b u t th e 0 v alu e th a t is u sed fo r
p a d d in g is ig n o re d b y th e IK BD w h e n se n t a s a co m m a n d . In o r d e r to re
ceiv e IK BD sta tu s p ack ets o n th e S T , y o u m u s t rep lace th e s tatv ec v e cto r
w ith a ro u tin e o f y o u r o w n th at tra n sfers th e p ack ets to y o u r ow n bu ffer.
A su m m a ry of th e IK BD sta tu s co m m an d s a r e s h o w n b elow .
371