output to bochs magic debug port as well

This commit is contained in:
2025-09-07 14:49:21 -04:00
parent c0d47d4db0
commit 875527aa98
2 changed files with 5 additions and 0 deletions

View File

@@ -91,6 +91,9 @@ PrintString:
mov si, [bp + 4] ; source string
.print_L0:
movzx ax, byte [si]
%ifdef __STEVIA_DEV_DEBUG
out 0xe9, byte al ; bochs magic debug port
%endif
push ax
call PrintCharacter
add sp, 0x2