[comp.sys.amiga.games] Ultima V input quirks

noyce@incstar.uucp (01/25/91)

Has anyone out there had problems with Ultima V on any amiga systems?
I currently have Ultima V, and while running it on both an A-500 and
my A-3000, experienced what appeared to be sluggish keys.  I had to
hit some keys 3-4 times, in order for the system to recognize them.
If anyone else has experienced this problem, or would know of a possible
fix/patch, please email a response. 

Thanx.

-Tim Noyce

pochron@cat53.cs.wisc.edu (David Pochron) (01/30/91)

I have looked at the code (in a 32 hour hacking frenzy, in fact) and the
reason the input is so bad is simple - the guy that ported it did not use
interrupts!  The keyboard and disk routines all busy wait for something to
happen.  If the screen is being updated while you press a key, say bye-bye
to that keystroke!

I am thoroughly convinced after looking at the code that not only is the
guy not familiar with the Amiga (he doesn't even use the blitter to decode
the MFM tracks, or for anything else for that matter, sheesh!)  but he isn't
even a good programmer, period!  The only interrupt he uses is the VBI to
time the screen updates and change the image animation pointers.
Pitiful, simply pitiful.

I did manage to get it working with the 68030, however - there are four
countdown loops that need to be changed in the four disk read/write routines,
the timing loop for stepping the head has to be increased in three places,
and the keyboard routine was fixed, using the code from another user here on
the net.

Now that it works with the 68030 (doesn't work very fast on a 68000 anymore
since the timing loops were all increased - can you say "groooonk, grooonk"
of the drive heads?)  the game is quite playable and enjoyable.  I have
progressed rather far into it by now.

-- 

       -- David M. Pochron   | "Life's a blit,
                             |  and then you VBI."
pochron@garfield.cs.wisc.edu |