Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01083 Gameplay Minor Have not tried Feb 9, 2008, 12:46 Jul 30, 2010, 19:48
Tester gregf View Status Public Platform
Assigned To Resolution Bugs That Aren't Bugs OS
Status [?] Resolved Driver
Version 0.55 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary 01083: gunfight: Number countdown skip problem.
Description As the game starts, the countdown number timer, will always skip one second and if choosing to reset the game, on an occasion or two, the game may possibly skip by two seconds. For example, if choosing 60 seconds for play time, the game will skip number 59 and show 58 instead. Sometimes it will skip from 60 seconds to 57 seconds. This same pattern also occurs if selecting any of the longer amounts of playing time.

Explanation of bug occurrence: (from stephh)

Timer is BCD coded at address 0x2004 (range 00-90h) and there is sub-timer NOT BCD coded (range 00-22h) at address 0x2009. Each 2 frames, the sub-timer is decremented.
The timer display is updated first at once (when you press '5'), then the different sprites are displayed. Then the timer display is then updated when contents of 0x2004 change.
The "problem" is that contents of 0x2009 is not reset to 0x00 when you press '5' and it takes 90 frames to display the sprites, and in the meantime, the display timer isn't updated (but contents of 0x2004 is OK).
So, if contents of 0x2009 > 0x0b when you press '5', the display will "jump" from 60 to 58, and if contents of 0x2009 < 0x0c when you press '5', the display will "jump" from 60 to 57.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems gunfight
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.06449
Tafoid
Administrator
Jul 30, 2010, 19:48
edited on: May 31, 2012, 04:58


You'll notice the actual hardware skipping 2.. sometimes 3 on the count. This is original behavior so this bug is not an emulation bug.