[comp.os.minix] bootblok.s error

XBR4D75G%DDATHD21.BITNET@cunyvm.cuny.edu (10/11/88)

The new bootblok.s, send by Andy Tannenbaum still has the same error.
The diskette-drive is not properly reset, when you use a 360K floppy
in an 1.2MB drive to boot minix on an AT.

Here is a patch, which worked on my AT-clone and on my XT-clone. With
this patch it is possible to use 1.2MB or 360K floppys as boot-disks
for AT-PC`s.


*** BOOTBLOK.OLD        Sun Oct 09 10:30:00 1988
--- BOOTBLOK.s  Tue Oct 11 15:35:32 1988
***************
*** 136,141 ****
--- 136,143 ----
      mov    DSKBASE,ax
      seg    es
      mov    DSKBASE+2,dx
+     xor    dx,dx       | drive 0
+     xor    ax,ax       | diskette reset
      int    0x13        | diskette reset

  L1:
-------------------------------------------------------------------------
Hans-Juergen Knobloch,   TH Darmstadt (West-Germany)