Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01785 Misc. Minor Always May 6, 2008, 20:48 Feb 7, 2009, 12:16
Tester nightsoil View Status Public Platform MAME (Official Binary)
Assigned To couriersud Resolution Fixed OS Windows XP/Vista 32-bit
Status [?] Resolved Driver
Version 0.125 Fixed in Version 0.129u4 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 01785: mjmyornt and more: AM/PM is ignored when the clock time is retrieved from RTC
Description In some ddenlovr.c games which retrieve the clock time from RTC, they look only 12-hour number and ignore AM/PM of the system clock.?You can check in-game clock at the startup screen or in the service mode.


Original Report:
When I play NeoGeo games in MAME, I sometimes see the time of day. Apparently, MAME gets this information from the computer's clock.

With MAME 0.124, I had no problem with this clock. However, in MAME 0.125, I am having problems with it. If the wall time were (say) 11:30 PM, then 0.124 would get this right, as 11:30 PM (or 23:30); however, 0.125 seems to ignore the PM and just get the time as 11:30 (AM, that is).

BTW, I have my regional preferences in Windows set to show time in 24-hour format.
Steps To Reproduce When the current time according to your PC clock is after 1 PM and before 1 AM, try a game that shows the current wall time.

A good game to look at for this is mjmyornt. One of the screens in demo mode shows a calendar page. Wait for this, and then pause the emulator. At the bottom of this "calendar page" screen, the time is shown in 12-hour format, with kanji ?? (AM) or ?? (PM).
Additional Information Fujix: This report was originally for "NeoGeo" games. But it seems to be a mistake of the reporter.
Github Commit
Flags
Regression Version 0.124u5
Affected Sets / Systems mjmyornt and more
Attached Files
png file icon 0.125.png (3,880 bytes) May 7, 2008, 03:56
Relationships
related to 02896Resolvedcouriersud Drivers using MSM6242.h: MSM6242 ignores AM/PM bit 
related to 03455Confirmed  mjmyornt: Cannot set clock manually 
Notes
3
User avatar
No.00895
Tafoid
Administrator
May 7, 2008, 02:11
Since verification of this depend largely on the Kanji identification, I'll let Fujix check on this.
User avatar
No.00898
Fujix
Administrator
May 7, 2008, 03:56
edited on: May 7, 2008, 05:35
The report is tangled. Let's clear things one by one.
0.125 seems to ignore the PM and just get the time as 11:30 (AM, that is).
Do you mean it is in NeoGeo games?
I set my PC clock to 22:50 and tried running fatfury1. I got the snapshot above. As it is shown, the clock is 22:51:50. It's a correct behavior.

BTW, I have my regional preferences in Windows set to show time in 24-hour format.
I set my PC regional option for the time format to "tt h:mm:ss", but I still have the same result. This can't be involved.


You show an example for mjmyornt, and I confirmed the AM/PM problem in 0.125.
The game has MSM6242 RTC which was converted into a device in 0.124u5.
As far as I checked, all ddenlovr.c games using clock have the same issue.
User avatar
No.00909
Fujix
Administrator
May 7, 2008, 23:16
No response from the original reporter, and I assume this report for ddenlovr.c games.