Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07968 Core Minor Always May 4, 2021, 18:41 Jun 13, 2021, 17:24
Tester Osso View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS Windows 10 (64-bit)
Status [?] Resolved Driver
Version 0.231 Fixed in Version 0.233 Build 64-bit
Fixed in Git Commit e8d9d51 Github Pull Request #
Summary 07968: All machines in hornet.cpp: Sound devices fail self test
Description With the "Skip Post" dip set to off (default is on), the self test for the sound devices fails (see attached snap taken with the gradius4 set).
Steps To Reproduce Load game
Set the "Skip Post" dip to off
Reset
Wait for the self test to get to the sound devices
Additional Information This are the tested devices, thanks to Guru for cross-checking on a real PCB:

5P = 68000
7S = EPROM.7S
14H/16H = 2x 32kx8 SRAMs
12K = RF5C400
Github Commit
Flags
Regression Version 0.228
Affected Sets / Systems All machines in hornet.cpp
Attached Files
png file icon 0001.png (6,250 bytes) May 4, 2021, 18:41 Uploaded by Osso
self test failure
Osso
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.18805
Osso
Moderator
May 4, 2021, 18:44
Couldn't find any obvious cause by skimming the 0.228 diff.

Not a fix, but might point in the right direction: commenting out m_audiocpu->set_input_line(INPUT_LINE_RESET, (data & 0x80) ? CLEAR_LINE : ASSERT_LINE); in the sysreg_w(offs_t offset, uint8_t data) method makes the sets pass the test.
User avatar
No.18806
Tafoid
Administrator
May 4, 2021, 20:21
Research suggest breakage January 8, 2021:
https://github.com/mamedev/mame/commit/b549bc49ddd68c6a1b90fdf148c378d2c137e646
"m68000: Don't clear interrupt input state upon reset"
User avatar
No.18810
Hydreigon
Tester
May 5, 2021, 01:21
Happens with all nwk-tr sets too since they run on very similar hardware and go through a similar post sequence.
User avatar
No.18814
Osso
Moderator
May 5, 2021, 05:57
Huh, no. Nwk-tr.cpp sets don't fail the sound devices test, as the audiocpu reset line isn't hooked up in that driver.
They fail the lan board tests, but It has happened for a long time if not from when the driver was added (went back to 0.160)
User avatar
No.18978
Osso
Moderator
Jun 13, 2021, 17:24
Fixed by Ville Linde.