osdev-graphics

Implement graphics output from VGA text mode to UEFI GOP framebuffers.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Maelwalser/claude-config --skill osdev-graphics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: osdev-graphics
Source: https://github.com/Maelwalser/claude-config/tree/main/skills/osdev-graphics
Command: npx skills add https://github.com/Maelwalser/claude-config --skill osdev-graphics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This reference provides end-to-end guidance for implementing graphics output in OS development, covering text-mode consoles and framebuffer-based rendering across boot stages.

Core Features & Use Cases

  • VGA text mode output and cursor control for early kernel logging.
  • VESA/VBE linear framebuffer setup and 2D rendering, including pitch handling and color formats.
  • UEFI GOP framebuffer access and pixel-blt operations, plus how to pass framebuffer info to the kernel.
  • Linear framebuffer rendering and font support (PSF) for a console-style UI.

Quick Start

Initialize VGA text mode for immediate visible output, then configure a linear framebuffer via VBE or GOP for graphics.

Frequently Asked Questions about osdev-graphics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement framebuffer rendering in an OS kernel?

Framebuffer rendering requires mapping video memory and calculating pitch to draw pixels correctly. You must configure a linear framebuffer via VBE or GOP, handle color formats, and pass mode information from the bootloader to the kernel.

What is the best way to handle boot-time framebuffer handoff to a kernel?

Boot-time framebuffer handoff passes mode information, pitch, pixel formats, and memory mapping from the boot stage to the kernel. UEFI GOP provides this data directly, while BIOS requires VBE mode setup before transitioning to the kernel.

How do I render text in VGA text mode for early kernel logging?

VGA text mode output and cursor control provide immediate visible logging for early kernel initialization. You write characters directly to video memory in text mode before configuring a graphical linear framebuffer environment.

Does UEFI GOP support pixel-blt operations for 2D rendering?

UEFI GOP supports framebuffer access and pixel-blt operations for 2D rendering. It provides mode information, pitch calculation, and pixel formats necessary to perform direct video memory manipulation during boot.

How do I add PSF font rendering to a linear framebuffer console?

PSF font rendering on a linear framebuffer involves reading font glyphs and writing pixels to the framebuffer based on pitch and color formats. This enables a console-style UI within the graphical mode environment.