use bochs magic breakpoints in the error printer

makes it easier to get a good state to do some investigating before reseting.
This commit is contained in:
2024-10-13 20:53:13 -04:00
parent f32745a7e3
commit ad2d37c63b
3 changed files with 30 additions and 20 deletions

View File

@@ -22,7 +22,12 @@
%macro ERROR 1
mov al, %1 ; al = 1 byte error code mapped to ascii values
%ifdef __STEVIA_DEV_DEBUG
__BOCHS_MAGIC_DEBUG
%endif
jmp error
%endmacro
; pass error as ascii character in al, errors a-zA-Z or 0-9