On Thu, 9 Feb 1995 13:33:14 GMT, David Zambonini said:
> Funnily enough, I have got an emulation of Lords of Midnight on the
> SAM, loaded from Speccy tape.. and indeed night falls, breaking day
> permanently on the way...
I believe I can help you there. It turns out that Lords of Midnight
seems to like printing out screenshots of the text that appears during the
night. It does this by calling 0ECD. If you have an ordinary Spectrum ROM
installed, then the first thing it will do is check port 251 to see whether
the printer is installed. Unfortunately, this port means something on the
Sam and it will give something like 5 as the answer. This makes the print
routine think that a printer is attached and it will proceed to output
various things to port 251 and wait for it to respond, which is generally a
bad move.
The answer is to do one of these things...
1. Install a Spectrum ROM that can print things out on a Sam printer.
2. Install a Spectrum ROM that never tries to print anything out.
3. Prevent the game from trying to print anything out. I believe the two
calls to 0ECD are located at 63085 and 63109.
imc