Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site nlm-vax.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!brl-tgr!nlm-mcs!nlm-vax!randy
From: randy@nlm-vax.ARPA (Rand Huntzinger)
Newsgroups: net.micro.atari
Subject: Re: DS/DD ST drive
Message-ID: <615@nlm-vax.ARPA>
Date: Tue, 1-Oct-85 11:48:25 EDT
Article-I.D.: nlm-vax.615
Posted: Tue Oct  1 11:48:25 1985
Date-Received: Sat, 5-Oct-85 03:00:46 EDT
References: <7617@akguc.UUCP>
Reply-To: randy@nlm-vax.UUCP (Rand Huntzinger)
Organization: NLM/LHNCBC, Bethesda, Md.
Lines: 22

Brad Kummer asked how to make a DS/DD boot disk for his Atari ST.  Simply
copying the files to a DS diskette doesn't work.  The problem is that a
boot sector, properly set up for a DS drive, has to be written onto the
disk.  The Atari BIOS provides the necessary functions, and a boot can be
written to disk with the BIOS calls in the following code fragment.

	#include	
	char	buf[512];

	Floprd(buf, 0L, SSDRV, 1, 0, 0, 1);	/* Read boot from SS drive */
	Protobt(buf, 0x01000000, 3, 1);		/* Convert to DS form */
	Flopwr(buf, 0L, DSDRV, 1, 0, 0, 1);	/* Write boot to DS drive */

	where:	SSDRV and DSDRV are the drive numbers of the single and
		double sided drives respectively.  Drive A: is 0, and drive
		B: is 1.

Unfortunately, you need the developer's kit to do this.  Is there a way to do
it without?  Of course, once you have one copy of a DS disk with a boot on it
your can clone it with image copies of the disk.

					Rand Huntzinger