Changeset 36 for trunk/BOOTCODE/REGULAR/DRIVEIO.ASM
- Timestamp:
- Jan 13, 2013, 9:29:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/DRIVEIO.ASM
r34 r36 179 179 jc DIOILUT_Error 180 180 and cl, 111111b ; Isolate lower 6 bits of CL -> sector count 181 182 ; huge disk 127 sec/track on <1TB using DANI183 ; mov cl, 07Fh184 181 185 182 ;movzx ax, cl … … 668 665 ; ######################################################################### 669 666 DriveIO_LoadSector Proc Near Uses ax bx ds si es di 670 test cs:[CurIO_UseExtension], 1671 jz DIOLS_UseNormal672 ; Are we forced do use LBA via Setting? ; Rousseau: LBA673 jnz DIOLS_UseExtension674 667 ; Is the drive not a harddrive? 675 668 cmp dl, 80h 676 669 jb DIOLS_UseNormal 670 671 test cs:[CurIO_UseExtension], 1 672 jz DIOLS_UseNormal 673 ; Are we forced do use LBA via Setting? 674 jnz DIOLS_UseExtension 675 677 676 ; Upper 8 bits of LBA-address set? -> Use LBA (maximum boundary is FB0400h) 678 677 or bh, bh … … 757 756 int 13h 758 757 759 ; Looking goo tso far758 ; Looking good so far 760 759 jnc DriveIO_LoadSectorLBA_succes1 761 760 … … 864 863 865 864 ; ------------------------------------------------------ 866 ; Rousseau: # Load the master LVM-sector i sone exists #865 ; Rousseau: # Load the master LVM-sector if one exists # 867 866 ; ------------------------------------------------------ 868 867 ; Load the master LVM-sector to get the number of sectors per track as eCS views the drive. … … 884 883 pusha 885 884 886 mov si,offset db_lmlvm885 ;mov si,offset db_lmlvm 887 886 ;call AuxIO_Print 888 887 … … 1240 1239 secs_per_track_table: db 63,127,255,255,255,255 1241 1240 1242 db_lmlvm: db 'Load Master LVM -- disk: ',01241 ;db_lmlvm: db 'Load Master LVM -- disk: ',0
Note:
See TracChangeset
for help on using the changeset viewer.