summaryrefslogtreecommitdiff
path: root/comboot.inc
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-16 06:17:23 +0000
committerhpa <hpa>2004-12-16 06:17:23 +0000
commit55d3481671736d0944115e55be5e4506cf496161 (patch)
tree70f1dcb69516eb776250c7693b06968b68221010 /comboot.inc
parent0a75748e975dc05a1c264d0005b84bd1f19ae8da (diff)
downloadsyslinux-55d3481671736d0944115e55be5e4506cf496161.tar.gz
More cleanups; try to get rid of the now-obsolete definition of
"cluster" as the minimum block
Diffstat (limited to 'comboot.inc')
-rw-r--r--comboot.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/comboot.inc b/comboot.inc
index f3aec3b0..af34686f 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -125,7 +125,8 @@ is_comboot_image:
; Now actually load the file...
pop si ; File handle
mov bx,100h ; Load at <seg>:0100h
- mov cx,[ClustPerMoby] ; Absolute maximum # of clusters
+ mov cx,0FF00h >> SECTOR_SHIFT
+ ; Absolute maximum # of sectors
call getfssec
; And invoke the program...
@@ -420,8 +421,7 @@ comapi_open:
jz .err
mov P_AX,ax
mov P_HAX,dx
- mov ax,[ClustSize]
- mov P_CX,ax
+ mov P_CX,SECTOR_SIZE
mov P_SI,si
clc
ret