Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!inetg1!dprrhb From: dprrhb@inetg1.ARCO.COM (Reginald H. Beardsley) Newsgroups: comp.os.minix Subject: Re: Trouble building a 1.44m boot disk (using mcc and Turbo-C) Message-ID: <1991Apr17.173809.19172@Arco.COM> Date: 17 Apr 91 17:38:09 GMT References: <1991Apr16.033808.26969@syd.dms.CSIRO.AU> Sender: dprrhb@inetg1 (Reginald H. Beardsley) Organization: ARCO Oil & Gas Company Lines: 41 There is a rather subtle problem with Guy Helmer's bootblok.s for the 286 using 1.44MB drives. (NB I have not tried the 386 version, but it probably has the same problem) THE PROBLEM IS IN THE MAKEFILE NOT BOOTBLOK! make image produces the image file and then copies it to the floppy with the following command: cp image /dev/fd0 If you examine the source for floppy.c you will find that 1.44MB is not supported properly. What you actually get is an 18 sector disk with the executable written only in the first 15 sectors of each track. So.... you can do one of two things. 1) edit the makefile to read: cp image /dev/PS0 2) make floppies with: cp image /dev/PS0 cp image /dev/ps0 cp image /dev/at0 etc. as appropriate for the device you are using PS: Guy's bootblok.s will work with /dev/fd0 if you change tracksiz from 18 to 15. Have fun and thank you Guy! -- Reginald H. Beardsley ARCO Information Services Plano, TX 75075 Phone: (214)-754-6785 Internet: dprrhb@arco.com