Erwan Velu wrote:
>>
>> Shouldn't you code also try to detect disk 0xff?
>> Change:
>> for (int drive = 0x80; drive < 0xff; drive++) {
>> To:
>> for (int drive = 0x80; drive <= 0xff; drive++) {
>>
>>
> No because the last valid device is 0xfe.
>
I think using 0xff as a drive is legal, just a bad idea.
-hpa