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/
|
.vscode/
|
||||||
*.map
|
*.map
|
||||||
compose-dev.yaml
|
compose-dev.yaml
|
||||||
|
eth_null-tx.log
|
||||||
|
eth_null-txdump.txt
|
||||||
@@ -91,6 +91,9 @@ PrintString:
|
|||||||
mov si, [bp + 4] ; source string
|
mov si, [bp + 4] ; source string
|
||||||
.print_L0:
|
.print_L0:
|
||||||
movzx ax, byte [si]
|
movzx ax, byte [si]
|
||||||
|
%ifdef __STEVIA_DEV_DEBUG
|
||||||
|
out 0xe9, byte al ; bochs magic debug port
|
||||||
|
%endif
|
||||||
push ax
|
push ax
|
||||||
call PrintCharacter
|
call PrintCharacter
|
||||||
add sp, 0x2
|
add sp, 0x2
|
||||||
|
|||||||
Reference in New Issue
Block a user