Files
AirlysOS/include/airlys/font.h
T
Adam Eehan da3f0788d0 fix(baremetal): 512GB identity paging, early GOP splash, dual-output console & COM1/RTC timeout guards
- arch/x86_64/boot.s: Map 8GB..512GB using 1GB huge pages in PDPT; set Multiboot2 FB tag to required native 32bpp
- drivers/serial.c: Add scratch register hardware probe & 50k timeout guard to prevent infinite polling hang on modern AMD chipsets
- drivers/rtc.c: Add timeout guard to CMOS status register polling
- drivers/vga.c: Bypass legacy 0x3D4/0x3D5 CRT ports in GOP mode; mirror all characters to active hardware framebuffer
- drivers/vbe.c: Implement vbe_early_boot_splash, direct front-buffer console rendering & dynamic backbuffer allocation
- kernel/kmain.c: Initialize GOP linear framebuffer at Step 0 for instant physical screen illumination; use pause+counter in render loop
- scripts/build_iso.sh: Support universal GOP/VBE/VGA multi-resolution auto-detect for both bare metal and VirtualBox
2026-10-24 01:21:00 +05:30

22 lines
679 B
C

#ifndef AIRLYS_FONT_H
#define AIRLYS_FONT_H
/*
* Airlys Operating System Kernel - Typography & Font Rendering Engine
* Lead Architect: Er. Adam Eehan (Founder & CEO, Aira Group of Technology)
* Co-Pilot: Sovereign AI Aira 3 Ultra (Engine v3.6)
*/
#include <airlys/types.h>
#define FONT_CHAR_WIDTH 8
#define FONT_CHAR_HEIGHT 16
/* Typography API */
const uint8_t* font_get_glyph(char c);
void font_draw_char(uint32_t x, uint32_t y, char c, uint32_t color);
void font_draw_string(uint32_t x, uint32_t y, const char* str, uint32_t color);
void font_draw_string_glow(uint32_t x, uint32_t y, const char* str, uint32_t color, uint32_t glow_color);
#endif /* AIRLYS_FONT_H */