Added fun fault recovery :3 (I think I spotted a race condition in exception handling during testing, but whatever, that can wait)

This commit is contained in:
Lucia Ceionia
2023-02-02 01:44:35 -06:00
parent ce771b19bb
commit 7937de6ef0
2 changed files with 31 additions and 1 deletions

View File

@@ -45,6 +45,31 @@ int 3
int 0x30 ; exit
jmp $
global v86TransFlag
v86TransFlag:
push cs
pop es
mov ax, 0x13
int 0x10
mov ax,0x1012
xor bx,bx
mov cx,5
mov dx,.c
int 0x10
push 0xa000
pop es
xor di,di
xor ax,ax
.loop:
mov cx, 12800
rep stosb
inc ax
cmp ax,5
jl .loop
int 0x30
jmp $
.c: db `\0263>=*.\?\?\?=*.\0263>`
global v86GfxMode
v86GfxMode:
mov ax, 0x13