Fix for alignment exception on ARMv7
Detail: The Density field in the disc record is a byte at a non-word-aligned address but it was being loaded here with an LDR instruction. There is actually a pre-existing bug here, since the code at lines 904-905 would only have been executed on earlier CPUs if SectorSize, SecsPerTrk and Heads were all zero too. This would correspond to an implausibly small hard disc, so arguably this part of the branch should perhaps be removed altogether? Admin: Untested at ROOL. Submission from Willi Theiß [comments above are my own - BA] Version 3.40. Tagged as 'FileCore-3_40'
Showing
Please register or sign in to comment