--- /usr/src/2.0.36/arch/i386/boot/bootsect.S Sat Mar 9 12:31:42 1996 +++ /tmp/q/bootsect.S Thu Aug 23 21:42:20 2001 @@ -102,6 +102,7 @@ ! cx contains 0 from rep movsw above +#if 0 /* ET: let the DPT alone */ mov fs,cx mov bx,#0x78 ! fs:bx is parameter table address push ds @@ -124,6 +125,7 @@ mov (bx),di seg fs mov 2(bx),es +#endif ! load the setup-sectors directly after the bootblock. ! Note that 'es' is already set up. @@ -170,6 +172,7 @@ ! 36 sectors if sector 36 can be read, 18 sectors if sector 18 can be read, ! 15 if sector 15 can be read. Otherwise guess 9. +#if 0 /* ET: no autoprobing. asume 1.44mb disk */ mov si,#disksizes ! table of sizes to try probe_loop: @@ -187,6 +190,7 @@ mov ax,#0x0201 ! service 2, 1 sector int 0x13 jc probe_loop ! try next value +#endif #endif @@ -438,10 +442,12 @@ ret sectors: - .word 0 + .word 18 +#if 0 /* ET: no autoprobing. fixed at 18 sectors */ disksizes: .byte 36,18,15,9 +#endif msg1: .byte 13,10