Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04130 Debugger Minor Always Dec 9, 2010, 11:02 Dec 12, 2010, 13:01
Tester Robbbert View Status Public Platform MAME (Unofficial Binary)
Assigned To Robbbert Resolution Fixed OS Windows XP (32-bit)
Status [?] Resolved Driver
Version 0.140u1 Fixed in Version 0.140u3 Build Normal
Summary 04130: Debugger print command does not behave as per the help
Description Start a z80-based game

The initial values for the A and B registers are zero

In the debugger console enter the example string that is provided in the help text

print a,b,a+b

instead of the expected 000, the result is AB15
Steps To Reproduce as above
Additional Information I also happen to have a build of MESS based on 0.140u2; the behaviour is the same. (fwiw)
Flags
Regression Version 0.140u1
Affected Sets / Systems
Attached Files
png file icon pesadelo.png (12,878 bytes) Dec 9, 2010, 14:57
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.06900
ShimaPong
Tester
Dec 9, 2010, 14:17
Sounds like the same problem of tagmap_hash() for a single character.
User avatar
No.06910
Robbbert
Developer
Dec 12, 2010, 10:01
This was fixed in MESS r9762.

It was caused by a buffer overflow in tagmap_hash, as ShimaPong has said.