# EFI Grid

The unit at [drv/efi/grid.fs] implements [io/grid] through EFI's ConOut. You
initialize it through "efigrid$" and then plug "gridemit" to EMIT.

Colors are supported, but background is only 3-bit, bit $80 can't be used and
will be AND-ed away before setting attributes.

## Example initialization

  needs io/prompt io/grid drv/efi/grid
  3 SetMode
  efigrid$
  ' gridemit EMIT !
  :realias waitkey pos cursor! key ;

## API

.conmodes ( -- )
  Display all available console modes along with their size

SetMode ( modenum -- )
  Set mode of the EFI console.

conmode! ( modenum -- )
  Set current mode to "modenum" and reinitializes grid. This reallocates a grid
  buffer, so ressource wise, it's better to set the wanted mode before
  initializing the grid the first time.

efigrid$ ( -- )
  Initializes the grid to a EFI-based one using currently active mode.
