AlterBIOS stores its data in the upper 5k of the RAM.
And we originally had our stack bottom on 0x20003000 + 64K - 0x4000 = 0x2000f000,
thus intersecting with AlterBIOS.
As a result, installed and enabled (via patch) AlterBIOS caused the firmware to hang during boot.
AlterBIOS does fix FAT corruption which is IMO important.
This PR aims to fix that issue by properly redefining memory addresses.
AlterBIOS stores its data in the upper 5k of the RAM. And we originally had our stack bottom on 0x20003000 + 64K - 0x4000 = 0x2000f000, thus intersecting with AlterBIOS. As a result, installed and enabled (via patch) AlterBIOS caused the firmware to hang during boot.
AlterBIOS does fix FAT corruption which is IMO important. This PR aims to fix that issue by properly redefining memory addresses.