diff options
author | Liu Aleaxander <Aleaxander@gmail.com> | 2009-07-13 14:34:52 +0800 |
---|---|---|
committer | Liu Aleaxander <Aleaxander@gmail.com> | 2009-07-13 14:34:52 +0800 |
commit | b42cf60c1018f6fe99f2f7e2bd323deeba6fde9c (patch) | |
tree | f12659a45d66a8c6e5d9b03bbe0f2f8062b09058 /core/isolinux.asm | |
parent | 46cf51c77881189413fca90f56f12bc1e72241a8 (diff) | |
download | syslinux-b42cf60c1018f6fe99f2f7e2bd323deeba6fde9c.tar.gz |
Core: fix the HD-mode error in isolinux
error fixed. Just as what hpa told, deal with that might simply be to consider a 2K CD sector a
"block" rather than a "sector". so, in cdrom mode, we have 2K blocksize and 2k sector size, while
in hybrid mode we have 2k blocksize and 512 bytes sector size.
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r-- | core/isolinux.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm index ddd45946..4b11b43c 100644 --- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -1165,12 +1165,12 @@ all_read: ; we should be able to find the rest of what we need to know. ; pushad - extern iso_fs_ops - mov eax,iso_fs_ops - mov dl,[DriveNumber] + extern iso_fs_ops + mov eax,iso_fs_ops + mov dl,[DriveNumber] mov dh,1 ; it's cdrom - mov ecx,[bsHidden] - mov ebx,[bsHidden+4] + mov ecx,[bsHidden] + mov ebx,[bsHidden+4] mov si,[bsHeads] mov di,[bsSecPerTrack] pm_call fs_init |