JonAbbott wrote:Vanfanel wrote:Simon The Sorcerer hangs with a black screen when entering the tabern. However, I can go outside the village without problems, or enter the shop.
Probably a Page Zero access, I'll investigate.
I had a quick look at this yesterday. An error is occurring, which is triggering it's Environment Error handler. The Error handler than generates its own error saying there's no stack, however that code has a bug which causes a Page Zero access.
I've fixed the Page Zero access bug, which has now highlighted an issue with OS_GenerateError I need to look at, but haven't had time to look at the lack of stack so I can figure out the initial triggering issue.
Another issue I need to look into is Instruction tracing, when it's turned on in the debug build some games aren't working. I suspect that may be an issue within ADFFS' IRQ handler, which having looked at it has a few potential issues I need to resolve, namely:
1. There's a potential for it to fail to preserve interrupted Codelet states in some rare circumstances
2. It's not aware of the current task, so could potentially corrupt other tasks in a Wimp environment, or worst case lock the machine