aboutsummaryrefslogtreecommitdiff
path: root/stand/forth/brand.4th
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2020-12-21 05:31:16 +0000
committerToomas Soome <tsoome@FreeBSD.org>2021-01-02 19:41:36 +0000
commit3630506b9daec9167a89bc4525638ea45a00769e (patch)
tree8276b2e49eeaedbc1fb1806c5a9f64ee642bdc57 /stand/forth/brand.4th
parentbd03acedb804add1e22178d50eb2bfb703974ddf (diff)
loader: implement framebuffer console
Draw console on efi. Add vbe framebuffer for BIOS loader (vbe off, vbe on, vbe list, vbe set xxx). autoload font (/boot/fonts) based on resolution and font size. Add command loadfont (set font by file) and variable screen.font (set font by size). Pass loaded font to kernel. Export variables: screen.height screen.width screen.depth Add gfx primitives to draw the screen and put png image on the screen. Rework menu draw to iterate list of consoles to enamble device specific output. Probably something else I forgot... Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27420
Diffstat (limited to 'stand/forth/brand.4th')
-rw-r--r--stand/forth/brand.4th4
1 files changed, 4 insertions, 0 deletions
diff --git a/stand/forth/brand.4th b/stand/forth/brand.4th
index 39a9bfae753c..034e4eb40445 100644
--- a/stand/forth/brand.4th
+++ b/stand/forth/brand.4th
@@ -72,3 +72,7 @@ variable brandY
else drop then
then
;
+
+: draw-brand
+ ['] draw-brand console-iterate
+;