From 5fac10f02cd682c0ac88ef10b222d1efa7cd56b6 Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Fri, 5 Sep 2025 14:40:44 -0400 Subject: [PATCH] use easier to read logic --- include/BIOS/func/video.nasm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/BIOS/func/video.nasm b/include/BIOS/func/video.nasm index 90cc7ea..c087073 100644 --- a/include/BIOS/func/video.nasm +++ b/include/BIOS/func/video.nasm @@ -110,9 +110,9 @@ ALIGN 4, db 0x90 PrintCharacter: __CDECL16_ENTRY .func: - movzx ax, byte [bp + 4] ; AL = character c + mov al, byte [bp + 4] ; AL = character c mov ah, 0x0E ; INT 0x10, AH=0x0E call - mov bx, 0x0007 ; BH = page no. BL =Text attribute 0x07 is lightgrey font on black background + mov bx, 0x0007 ; BH = page no. BL =Text attribute int 0x10 ; call video interrupt ; TODO: check for carry and clear carry before call .endp: