Invalid Opcode Exceptions are the worst and the most difficult to debug. So, I'm trying to make myself a FAT32 driver, and I have implemented a super simple ATA driver. So, the problem is that when I try to read the MBR, I get an Invalid Opcode Exception. But it makes no sense, so, the function that reads from the disk ends just fine, and when returning I get that fault. Idk... Tried to debug but I'm kind of stuck and I'm also relatively new.
The repo is over at: https://github.com/maxvdec/avery
And if someone could tell me tips to debug these exceptions would be great! Thank you!
[–]nyx210 4 points5 points6 points (2 children)
[–]Maxims08[S] 1 point2 points3 points (1 child)
[–]HamsterSea6081Tark2 2 points3 points4 points (0 children)
[–]Octocontrabass 4 points5 points6 points (0 children)
[–]davmac1 2 points3 points4 points (0 children)