Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03269 Gameplay Minor Always Jun 19, 2009, 00:26 Feb 8, 2011, 22:50
Tester Janez View Status Public Platform SDLMAME
Assigned To Resolution Bugs That Aren't Bugs OS Linux
Status [?] Resolved Driver
Version 0.131 Fixed in Version Build Athlon
Fixed in Git Commit Github Pull Request #
Summary 03269: bagman: Impossible to enter a "Z" in high-score name.
Description If you reach the top 5 high score you can enter your name in the list.
But if your name, like mine, contain a "Z" you can't enter that letter.
Steps To Reproduce 1) Start a game.
2) Play well, you need at least 14300 point.
3) Wait the GAME OVER.
4) You are in the top five high-score and you can write your name.
5) The alphabet ends with the "Y", there is no "Z".
Additional Information There is the same bug in XMAME 0.92
Github Commit
Flags
Regression Version
Affected Sets / Systems bagman
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.04528
Tafoid
Administrator
Jun 19, 2009, 11:51
I can confirm but until we get some PCB confirmation, I've set this as POSSIBLE. It's not the type of bug that improper emulation might cause (at least in my experience).
User avatar
No.04702
Yonah
Tester
Jul 25, 2009, 20:48
This bug exists on the real PCB (Stern Set ?), it's a bug in the real game. I can't remember if my father and I ever noticed this over the years because our initials are KDF and JPF respectively. I can upload a video if necessary.
User avatar
No.07175
phantomdj
Tester
Feb 8, 2011, 22:13
This does not appear to be a bug in MAME. It is a bug in the original programming.

The program code which handles the high score entry has some bugs which prevent the letter Z from being selectable.

A simple MAME cheat can fix this bug and allow the letter Z into the high score table.

I suppose this should be labeled as "bug that is not a bug" [BTNB ?]

CODE FOLLOWS

; handle joystick right in high score mode (advance)

2EB2: 78 ld a,b ; load A with letter
2EB3: FE 29 cp $29 ; at "Z" ? [bug, should be CP $2A]
2EB5: 20 02 jr nz,$2EB9 ; no, skip next step

2EB7: 06 10 ld b,$10 ; yes, reset back to A [should be ld b, #0F for space]

2EB9: 04 inc b ; advance to next letter
2EBA: CD 0A 2F call $2F0A
2EBD: CD 19 2F call $2F19
2EC0: C9 ret

; handle joystick left in high score mode

2EC1: 78 ld a,b ; get current letter
2EC2: FE 10 cp $10 ; at beginning ?
2EC4: 20 02 jr nz,$2EC8 ; no, skip next step

2EC6: 06 2A ld b,$2A ; set to "Z". [bug , should be ld b,$2B]

2EC8: 05 dec b ; previous letter
2EC9: CD 0A 2F call $2F0A
2ECC: CD 19 2F call $2F19
2ECF: C9 ret
User avatar
No.07176
hap
Developer
Feb 8, 2011, 22:49
ok, thanks for investigating