Menu

WinPS1 update

I discovered the cause of the bug that results in random crashes of the sim when the autopilot is engaged (and other situations). This bug originated in irregularities in the FPU stack.

A pair of bytes "0xcd 0x3b" at seg 0x131C offset 0xC159 (a procedure that updates the Autopilot/Flight Director annunciator) was incorrectly interpreted as a FPU emulation instruction, and translated into native FPU opcodes. Restoring the original bytes fixed the bug.

Posted by reeed 2007-05-31

Log in to post a comment.