output to bochs magic debug port as well
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,3 +9,5 @@ stevia-log
|
||||
.vscode/
|
||||
*.map
|
||||
compose-dev.yaml
|
||||
eth_null-tx.log
|
||||
eth_null-txdump.txt
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user