#20 Endless loop with in al,0x64

v0.50
closed
Sjoerd
5
2012-09-07
2002-08-03
Ulf Wohlers
No

Starting Ultima Underworld 1 ends with an endless loop,
cos of following instructions:

5F0: in al,0x64
5F2: test al,0x02
5F4: jne 5F0

Port 0x64 is not defined and returns always value 0xFF.

Discussion

  • Sjoerd
    Sjoerd
    2002-08-03

    Logged In: YES
    user_id=153968

    Yeah i've noticed myself too, need to improve the keyboard emulation so
    it can also accept commands. Damn game programmers :)

     
  • Sjoerd
    Sjoerd
    2002-09-01

    Logged In: YES
    user_id=153968

    Added new command support in keyboard handler and updated flags in
    the keyboard status register. Should work now.