diff options
-rw-r--r-- | core/comboot.inc | 4 | ||||
-rw-r--r-- | doc/comboot.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/comboot.inc b/core/comboot.inc index 0c9956a0..91cc15ae 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -837,10 +837,10 @@ comapi_userfont: ; %if IS_SYSLINUX || IS_ISOLINUX || IS_EXTLINUX comapi_readdisk: - mov esi,P_ESI ; Enforce ESI == EDI == 0, these - or esi,P_EDI ; are reserved for future expansion + cmp P_EDI,0 ; Reserved for future expansion jnz .err mov eax,P_EDX + mov edx,P_ESI mov es,P_ES mov bx,P_BX mov bp,P_CX ; WE CANNOT use P_* after touching bp! diff --git a/doc/comboot.txt b/doc/comboot.txt index 036bd784..9e9f99a0 100644 --- a/doc/comboot.txt +++ b/doc/comboot.txt @@ -832,8 +832,8 @@ AX=0018h [3.30] Query custom font AX=0019h [3.50] Read disk [SYSLINUX, ISOLINUX, EXTLINUX] Input: AX 0019h - EDX Sector number - ESI Reserved - MUST BE ZERO + EDX Sector number (LSW) + ESI Sector number (MSW) [4.00] EDI Reserved - MUST BE ZERO CX Sector count ES:BX Buffer address |