summaryrefslogtreecommitdiff
path: root/core/comboot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/comboot.inc')
-rw-r--r--core/comboot.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/comboot.inc b/core/comboot.inc
index 7e4c3d6f..9255f8a0 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -517,7 +517,12 @@ comapi_textmode:
; INT 22h AX=0006h Open file
;
comapi_open:
+ mov es,P_ES
+ mov si,P_SI
pm_call pm_open_file
+ mov P_EAX,eax
+ mov P_CX,cx
+ mov P_SI,si
ret
;