diff options
author | hpa <hpa> | 2003-11-23 01:38:19 +0000 |
---|---|---|
committer | hpa <hpa> | 2003-11-23 01:38:19 +0000 |
commit | 9b297ddabcf8f3f7d92f825705daa3bf671614e4 (patch) | |
tree | 474bd9bd891c60a1957638caf76f1e552ea3be5d /comboot.inc | |
parent | 0a87ce1c8221d32083715d13d53368c1b41f320e (diff) | |
download | syslinux-9b297ddabcf8f3f7d92f825705daa3bf671614e4.tar.gz |
Fix the file read API for COMBOOT/COM32syslinux-2.07
Diffstat (limited to 'comboot.inc')
-rw-r--r-- | comboot.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/comboot.inc b/comboot.inc index 2e768ea4..454d42c0 100644 --- a/comboot.inc +++ b/comboot.inc @@ -409,6 +409,7 @@ comapi_open: mov P_HAX,dx mov ax,[ClustSize] mov P_CX,ax + mov P_SI,si clc ret .err: @@ -420,8 +421,10 @@ comapi_open: ; INT 22h AX=0007h Read file ; comapi_read: - mov ax,P_BX + mov es,P_ES + mov bx,P_BX mov si,P_SI + mov cx,P_CX call getfssec jnc .noteof xor si,si ; SI <- 0 on EOF, CF <- 0 |