Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!bruce!merlin!paulg From: paulg@bhpmrl.oz.au (Paul Gallagher) Newsgroups: comp.os.msdos.programmer Subject: Re: Reading Bootsector with BIOS Message-ID: <1991Apr17.131931.8693@bhpmrl.oz.au> Date: 17 Apr 91 13:19:31 GMT References: <1991Apr5.114028.25003@daimi.aau.dk> Sender: usenet@bhpmrl.oz.au (USEnet nntp account) Organization: BHP Research - Melbourne Laboratories, AUSTRALIA Lines: 20 This is off the top of my head, so be warned: I remember doing something similar in the past (a sector editor/recronstruction/backup utility) and I'm sure that when using int13/func2 you specify DL=2 to read C:, unlike disk reset (int13/func0). ??? My main reaon for posting: this reminded my of a long standing question I've had. Is there any way of telling exactly which drive was the boot device? (other than assuming it from the COMSPEC variable or other inductive means) This must be documented somewhere, but God knows I've tried finding the answer without success. Paul Gallagher /\/\ Paul Gallagher, PC Support Officer, / / /\ Computer Systems Group, / / / \ BHP Melbourne Research Laboratories / / / /\ \ 245 Wellington Rd Mulgrave Vic 3170 AUSTRALIA \ \/ / / / Phone : +61-3-560-7066, Fax : +61-3-561-6709 \ / / / ACSnet : paulg@bhpmrl.OZ.AU \/\/\/