Any byte except $01 with only a single bit set is a valid mask and is accepted by HDDRUTIL. If there is more than one bit set it is rejected. Each bit except bit 0 represents a directly bootable OS, but as already mentioned only TOS and ASV can be booted this way. Bit 0 determines whether a partition is active or not.
The manual does not go into detail here because the boot mask is not specific to HDDRIVER, but is a general concept.
Messed up, cant get out
-
Bikerbob
- Posts: 18
- Joined: 12 Nov 2019, 18:27
Re: Messed up, cant get out
So this is not my thing.. but..
$00 is not working
$01 you say is not available
$10 is already used
$20 is available?
$40 is ASV
$80 is bootable TOS
$02 is available
$04 is available
$08 is available
As I understand what you wrote.. these are the only addresses which would be considered valid?
James
$00 is not working
$01 you say is not available
$10 is already used
$20 is available?
$40 is ASV
$80 is bootable TOS
$02 is available
$04 is available
$08 is available
As I understand what you wrote.. these are the only addresses which would be considered valid?
James
-
uweseimet
- Site Admin
- Posts: 408
- Joined: 10 Jan 2010, 15:39
Re: Messed up, cant get out
Other values than $01, $40 and $80 are not used by any OS. Using them may result in undefined behavior. The most likely behavior is that you cannot boot from such a partition, even if it has an executable boot sector.
-
uweseimet
- Site Admin
- Posts: 408
- Joined: 10 Jan 2010, 15:39
Re: Messed up, cant get out
HDDRIVER 12.05 has just been released, and with this release HDDRUTIL also accepts a boot mask of $00 when editing a partition.