
III.4 - OSD RAM Editor
The OSD RAM Editor is running when the Page
Editor Softwarestarts.
The active keys are:
-
Standard Characterkeys :
They correspond to the ASCII character codes
Hex 20 to Hex 7F.
When depressing one of those keys, the corre-
spondingcharacterisputincurrentRAM position
(cursor position),with the current color attributes
(set by ”F2” command). The RAM position is
always overwritten.
Characters whose codes aren’t in the above
range are available with the ”Special Codes”
command ”F6”.
-
Arrow keys :
The four arrow keys areused to move the cursor
byoneposition,dependingonthe arrowdirection.
There is no change in the RAM contents, but at
each move of the cursor, the content of the last
position is sent to the OSD device. When the
cursor is placed on a position containing a de-
scriptor, a special code character, or a user de-
fined character (on its first line), the detailed
contentsis displayed on an additionalwindow.
-
CTRL, Arrow :
This function is made to change the color of
several characterswithoutretyping them : When
an Arrow keyis depressedin conjunctionwiththe
CTRLkey,thecurrentpositionisrewrittenwiththe
current color attributes, then the cursor moves
accordingly with the arrow direction. So, moving
the cursor with CTRL, Arrow keys will repaint the
underlyingcharacterswith the current color.
-
”TAB” :
Action on this key toggles the ”O(jiān)SD Display” bit
of the OSD Display control register (bit 7,
@3FF3). The result of this is that in development
configurationwhere the Demo board is inserted
between the PC and the PC monitor, one can
easily switch the monitor display between the
Page Editor screen and the OSD output screen.
-
”Home” :
Moves the cursor to the beginningof
the current line.
-
”End”:
Movesthecursor totheendofthecurrent
line.
-
”Page Up” :
Movesthe cursor to the top line,on
the current column.
-
”PageDn.”:
Movesthecursor to the bottomline,
on the currentcolumn.
-
”Return” :
Movesthe cursorto the beginning of
next line.
-
”Del”:
Deletes the current position and shifts back rest
of the line.Lastposition of the line is blank. This
functionoperatesonly if thereis no userdefined
character stored between current position and
end of line.
-
”CTRL, Del” :
Same function than ”Del” except that the current
positioncontent is stored into a temporarymem-
ory that can be recalled with ”CTRL, Ins”.
-
”Ins”:
Inserts a blank into the currentposition. The rest
of the line is shifted to the right. The lastposition
of the line is lost. This function operates only if
thereisnouserdefinedcharacterstoredbetween
current position andend of line.
-
”CTRL, Ins” :
Same than ”Ins” except that the current position
is not blanked, but written with the temporary
memory content if already initialized by ”CTRL,
Del”.
III.5 - Command ”F1” :
Registers Settings
To edit a register, depress the key ”F1”. A new
window appears on the screen, that shows the
detailed ”bits” contents of the register currently
under edition.
Active keys :
-
Down Arrow :
Edit the next register.
-
Up Arrow:
Editthe previous register.
-
Left Arrow :
Edit the bit on the Left.
-
Right Arrow
: Edit the biton theRight.
-
0 or 1 :
Resetor Set the bit.
-
”Enter” :
Validation of the current bit and edit
next bit.
-
”Escape” :
Exit from Registers Edition and go
back to RAM Editor
III.6 - Command ”F2” :
Define CurrentColor
This command is used to define the current color
attributes. Those attributes remain available until
the next ”F2”command.The current color is visible
in the color window,under the RAM and Registers
windows.
The color definitionis madein two steps :
-
ForegroundandBackgroundcolorsdefinition:
At the left side of the color window is a color
selector,made of an upperpalettefor the choice
of theforegroundcolor,andalowerpaletteforthe
choice of the background color, including trans-
parent background.
Up andDownArrowkeysmove theselectortothe
upper palette and to the lower palette. Left and
RightArrow keys move the selector from color to
colorinside apalette.The resultingcoloris shown
in arectangle,at therightsideofthepalettes.The
validationof the color is made by ”RETURN” key.
Depressing the RETURN key defines the new
color as the current color and enters the second
stepof the definition.
STV942x - DEMO KIT
7/9