🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5814

Re: Reading Bootsector with BIOS

#5814
From: Paul Gallagher
Date: Wed, 17 Apr 1991 13:19
20 lines
1455 bytes
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        
    \/\/\/
Technical Details
Message-ID: <1991Apr17.131931.8693@bhpmrl.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!bruce!merlin!paulg
References: <1991Apr5.114028.25003@daimi.aau.dk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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