Project

General

Profile

Bug #10196

Add 'framebuffer?' command to loader

Added by Andy Fiddaman 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Start date:
2019-01-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

It would be useful to be able to easily check if the framebuffer is in use before, for example, attempting to change resolution or font.

History

#1

Updated by Andy Fiddaman 8 months ago

Review: https://illumos.org/rb/r/1355/

Testing: Built, tested new command from loader prompt:

ok framebuffer get
... 6x0x480x32
ok framebuffer? .
-1
ok framebuffer off
ok framebuffer? .
0
.s
... stack is empty ...

Also noted that the box drawn around the menu items was graphical when the framebuffer is active, and text otherwise.

#2

Updated by Andy Fiddaman 8 months ago

  • Status changed from In Progress to Pending RTI
  • % Done changed from 90 to 100
#3

Updated by Electric Monk 8 months ago

  • Status changed from Pending RTI to Closed

git commit 33d05bc1b89915cf87dec3f6f9f2d5743fc9ea70

commit  33d05bc1b89915cf87dec3f6f9f2d5743fc9ea70
Author: Andy Fiddaman <omnios@citrus-it.co.uk>
Date:   2019-01-11T16:26:42.000Z

    10196 Add 'framebuffer?' command to loader
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF