Added BPB to pre-2.0 DOS disks, for consistency and mounting support

This commit is contained in:
Jeff Parsons 2017-06-01 09:15:39 -07:00 committed by Jeff Parsons
commit b42c858c44
10 changed files with 58 additions and 32 deletions

View file

@ -1070,7 +1070,9 @@ class Bus extends Component {
return file.getSymbol(bto.obj.offFile + off, fNearest);
}
if (!fSymbol || fNearest) {
return bto.obj.idComponent + '+' + Str.toHexLong(bto.off + off);
if (bto.obj.idComponent) {
return bto.obj.idComponent + '+' + Str.toHexLong(bto.off + off);
}
}
}
}