libc: add bios/text.h BIOS text-output API

Direct __naked z80 wrappers over BIOS LP_PRINT_*/LP_SET_PLACE/LP_GET_PLACE
(RST 8, opcodes 081h-08Eh) for fast text rendering — a single BIOS call
replaces a wrchar() loop for constant-attribute/constant-character runs.
Covered by tests/bios_text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 17:06:13 +03:00
parent bd116d7361
commit c9d5ea35a4
5 changed files with 525 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Build bios_text.exe — exercises <bios/text.h>, TINY memory mode.
PROJ_ROOT := $(abspath $(CURDIR)/../..)
EXAMPLE := bios_text
include $(PROJ_ROOT)/app.mk