Specifications

250 AMD Geode™ GeodeROM Functional Specification
Configuring/Customizing
32087C
18.9.2.2 Macro Reference
INIT_MENU
INIT_MENU must be the first entry. It initializes the internal variables needed for the menu system.
MENU name,title,ul,uc,lr,lc,flags
This entry defines a menu screen.
When this entry is processed, the menu is assigned an ordinal number. The first menu is ordinal 0 and each subsequent
menu is assigned the next number in sequence. This ordinal is made PUBLIC as ORDINAL_name. This may be used by
user functions to determine the menu being processed.
The address of the menu definition entry is also made PUBLIC in the form LABEL_name. This label may be used by user
functions to alter various parts of the menu definition. Use with extreme care as there is no error checking of altered entries.
SKIP_LINE
SKIP_LINE places a blank line on the screen and forces the next item to appear one line down from where it would nor-
mally be placed. This item only has an effect if the row entry in the item entry is omitted.
ITEM name,row,col,flags
This entry defines an item.
Parameters Description
name The name of the menu.
title The title of the menu displayed on the top border line of the menu.
ul The location of this menu’s top row on the screen.
uc The location of this menu’s leftmost column on the screen.
lr The location of this menu’s bottom row on the screen.
lc The location of this menu’s rightmost column on the screen.
flags (optional) Any special flags required for this menu. Valid Flags are:
NO_DIRECT - If present, this flag suppresses the direct selection of a menu item by typing the
first character of the item name.
TOP_MENU - If present, this flag declares this menu to be the “Top Menu”. The TOP_MENU flag
modifies the exit functionality of the menu where the escape key is no longer functional as a
direct exit. Instead, a dialog displays a selection of “SAVE” or “QUIT”. The next step is to exit
setup and the selection instructs setup to save or ignore the selections made during the current
session.
Parameters Description
name The text placed on the menu window at the given row and column.
row (optional) The row of the menu window where the item is placed. If omitted, the item is placed on the line after
the last defined item, or if this is the first item, line two is used.
col (optional) The column of the menu screen where the item is placed. If “col” is omitted, the name or text item is
placed i
n the same column as the previous entry. If this menu item is the first entry in a menu, the
default starting column for this entry is column 2. If col is provided, it becomes the default starting
column for all following entries in the current menu.
flags Contains flags that modify the default behavior of this item:
NO_SELECT - Do not allow this item to be selected.
NO_DISPLAY - Do not display this item. The item appears as a blank line on the Menu.
GRAY_OUT - Display this item in low intensity. Normally combined with NO_SELECT.
BOLD - Display this item in high intensity.