Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04190 Color/Palette Minor Always Jan 17, 2011, 02:52 Jan 17, 2011, 17:41
Tester hap View Status Public Platform
Assigned To hap Resolution Fixed OS
Status [?] Resolved Driver
Version 0.141 Fixed in Version 0.141u1 Build
Fixed in Git Commit Github Pull Request #
Summary 04190: heiankyo: wrong colors
Description Some colors are wrong when compared to flyer and real cabinet. Red garbage in title and some red text should be white, and background should be blue instead of black.

reference video of cab in attract mode:
Steps To Reproduce
Additional Information
Github Commit
Flags Noted in Source
Regression Version
Affected Sets / Systems heiankyo
Attached Files
png file icon heiankyo-Attract-Mode.png (8,768 bytes) Jan 17, 2011, 10:28 Uploaded by M.A.S.H.
M.A.S.H.
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.07093
Fujix
Administrator
Jan 17, 2011, 09:19
This video confirms the source note:
A few of the games have an extra 18K pull-up resistor on the
blue color gun, Carnival, for example.
Colors inaccurate? Blue background?
User avatar
No.07094
M.A.S.H.
Senior Tester
Jan 17, 2011, 10:28
edited on: Jan 17, 2011, 16:18
The color PROM 316-138.u49 in Heiankyo Alien is same as in Head On,
Head On 2, Space Attack and Space Attack / Head On.


Hex-Dump of the PROM:

0000 - 95 B5 B5 35 B5 15 75 F5
0008 - 91 F1 F1 71 B1 31 71 F1
0010 - 95 F5 F5 F5 75 B5 95 B5 <--- Correct colors for Heiankyo
0018 - 91 F1 91 F1 71 B1 91 B1 <--- Colors MAME use


The game uses only 8x bytes from the PROM for the colors. In MAME it uses the bytes from
the last row ($0018) like Head On or Space Attack. But for Heiankyo Alien it is row ($0010).
Like the inverted color PROM in N-Sub (Sega - also vicdual.c), they made some wire mods
to the PROM to enable them.
To emulate this i simply swapped both rows with ROM_CONTINUE.


Use DIFF file or changed line 3398 in src\driver\vicdual.c from

ROM_LOAD( "316-138.u49", 0x0000, 0x0020, CRC(67104ea9) SHA1(...) )
to
ROM_REGION( 0x0020, "proms", 0 )
ROM_LOAD( "316-138.u49", 0x0000, 0x0010, CRC(67104ea9) SHA1(...) )
ROM_CONTINUE( 0x0018, 0x0008 )
ROM_CONTINUE( 0x0010, 0x0008 )



Now the colors perfectly matches the ones in the YouTube video, see snapshots
from the Attract-Mode (heiankyo-Attract-Mode.png)!
User avatar
No.07096
hap
Developer
Jan 17, 2011, 14:14
Sounds reasonable, go ahead and submit it. Please include a link to this report and/or information that makes it evident that it's correct. Also, mark the prom as BAD_DUMP, even though they're 99% certain to be correct.
User avatar
No.07097
M.A.S.H.
Senior Tester
Jan 17, 2011, 16:20
I updated my last report a little and submit the fix. The PROM is not
a BAD_DUMP. More than three games uses it. It is controlled only different.
User avatar
No.07098
hap
Developer
Jan 17, 2011, 17:40
Ok, nevermind. The issue was in heiankyo_io_w, and not due to some odd PROM shuffling. Thanks anyway.