Oops - loaded R0 from the wrong word on the stack.
Detail: WritePSRc alters the flags in 26-bit builds - stuffs up the crafty CMP instruction. Loaded the wrong register from the stack when branching to the AddEntry routine - results in rubbish addresses being jumped to whenever the Free module wants to look up free space. Admin: Tested in desktop build. No longer causes spectacular crashes. Version 0.35. Tagged as 'Free-0_35'
Showing with 20 additions and 12 deletions