Soldier One (Sinclair User/Beyond Belief) Bugfix

Whether it's Mire Mare or a BASIC tape you found in the attic, it needs to be preserved digitally. Post here and experts can help to do so.

Moderator: pavero

Post Reply
User avatar
mzx
Dizzy
Posts: 52
Joined: Sun Jun 17, 2018 7:56 pm

Soldier One (Sinclair User/Beyond Belief) Bugfix

Post by mzx »

There is an error in the game: the Kempston Joystick cannot be used. This is because an error has slipped into the routine of the control selection menu. The programmer's intention is to have a value stored at address 43361 (selected menu item minus one, ie, 0 - Keyboard, 1 - Sinclair, or 2 - Kempston), based on which the routine starting at 43351 examines the corresponding control during the game. If selecting Kempston, address 43361 will be set to 1 instead of 2. Fixed TZX

And the fixed routine:

Code: Select all

ORIGINAL PART:

43889  033 097 169   21 61 A9   LD HL, 43361      
43892  054 000       36 00      LD (HL),0
43894  062 247       3E F7      LD A,247
43896  219 254       DB FE      IN A, (254)
43898  047           2F         CPL

FIXED PART:

43899  230 007       E6 07      AND 07
43901  040 242       28 F2      JR Z,43889
43903  061           3D         DEC A
43904  119           77         LD (HL),A
43905  000           00         NOP
43906  000           00         NOP
43907  000           00         NOP
43908  000           00         NOP
43909  000           00         NOP

ORIGINAL PART:

43910  201           C9         RET
Fixed TZX
Post Reply