🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ken Bates DTN 522-2039 Tue, 14 Oct 1986 15:41
Question on contents of \"BootDrive\"
#7691
Author: Ken Bates DTN 522-2039
Date: Tue, 14 Oct 1986 15:41
16 lines
1419 bytes
Does anyone know if the global location "BootDrive" (location 0x210) is 
really valid? If I access it on either a HD20 or a HyperDrive, the contents 
are 0x8023, which strikes me as a rather weird drive number. If I take this 
number as valid and skim through the vcb queue looking for a match, I never 
find it (looking for a match between BootDrive and vcbDrvNum). Booting from 
a floppy, BootDrive turns out to be 0xFFFF, which is even stranger.

The goal of this was to find out the vRefNum of the boot drive (i.e., which
drive should not be unmounted). I had planned to access BootDrive, then skim
through the vcb queue looking for a match, and then using vcbVRefNum of the
matching vcb entry, but since the contents of BootDrive appear to be bogus,
I can't do it this way. Any suggestions on 1) why this fails and 2) how to
determine the boot drive?

 - Ken Bates
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads