Hi all,
I've spent some time in recent weeks learning about DosBox-X's debug capabilities as part of an exercise to figure out why SubLOGIC scenery disk 12 is failing to load in Microsoft Flight Simulator 2.
I've compared debug CPU logs (using the LOG ffffff debug command) of a successful load of scenery disk 9 as compared to the crash of scenery disk 12.
I'm interested in a particular section of code in the Microsoft Flight Simulator 2 program highlighted below, which is running differently for both the scenery disk loads. Can anyone shed any light on how this might happen?
From the successful scenery disk 9 load:
download/file.php?mode=view&id=242481
From the scenery disk 12 load which is crashing:
download/file.php?mode=view&id=242482
I don't understand how the code at 0050:00005049 can be executed differently for each of the scenery disk loads? The code has been executed correctly in the scenery disk 9 load as I have compared this code to the data on the disk (refer attachment - Ghidra.png). Can anyone shed any light on how code 89 16 32 4E can be subsequently executed as 89 00? How can the 16 be read as a 00?
Appreciate any insights, suggestions or helpful resources anyone might be able provide me.
Trent