- --
 
      Viewing Issue Advanced Details
    
  | ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 07100 | Sound | Minor | Always | Sep 17, 2018, 16:28 | Feb 7, 2025, 21:59 | 
| Tester | anemostat54539 | View Status | Public | Platform | MAME (Self-compiled) | 
| Assigned To | Resolution | Unable to reproduce | OS | ||
| Status [?] | Closed | Driver | |||
| Version | 0.201 | Fixed in Version | Build | 64-bit | |
| Fixed in Git Commit | Github Pull Request # | ||||
| Summary | 07100: A sound like howling appears in ZSG 2 + DSP built with VS2017 | ||||
| Description | I built MAME's zn.cpp on VS2017 and confirmed the sound of raystormj. Then, I noticed that sounds like howling were mixed in all the sound tests. | ||||
| Steps To Reproduce | 
          1. make SUBTARGET=zn SOURCES=src\mame\drivers\zn.cpp (Make sure that MSBUILD can be executed before compiling) 2. start zn64.exe -window raystormj 3. enter test mode, and sound test 4. play any song  | 
      ||||
| Additional Information | 
          When I looked it up, I understood that the problem occurred with the following code of DSP. src/devices/cpu/tms57002/tmsinstr.lst Line:220 lmhc 1 33 1 n lmhc %c macc_write = macc = ((int64_t)(int32_t)%c) << 16; <- this lmhd 1 31 1 n lmhd %d macc_write = macc = (int64_t)((int32_t)(%d)) << 16; <- this It seems that there is a problem with casting to int64_t.  | 
      ||||
| Github Commit | |||||
| Flags | |||||
| Regression Version | |||||
| Affected Sets / Systems | |||||
| 
               Attached Files 
             | 
            |||||
      Relationships
		
    
  | There are no relationship linked to this issue. | 
      Notes
      
    
  6
    | 
             No.15474 
            ctr             Tester 
            
            Sep 17, 2018, 19:30 
                         | 
          
            If the problem is in the DSP core, can you confirm that it also happens (or a similar DSP-related issue) in konamigx.cpp games? If it does not occur, can you check what happens when the DSP is bypassed (ie, sound routes directly from ZSG-2 device in mame/audio/taito_zm.cpp)  | 
        
|---|---|
| 
             No.15477 
            anemostat54539             Tester 
            
            Sep 17, 2018, 22:11 
            edited on:  Sep 17, 2018, 22:31              | 
          
            In konamigx built with VS2017, both x86 and x64 were not reproduced. (Using gokujyo parodius for testing) I can't test direct sound route changing. attach zn64 with VS2017 x64 build exe file.  | 
        
| 
             No.22961 
            JimCarlTay             Tester 
            
            Feb 7, 2025, 17:10 
            edited on:  Feb 7, 2025, 17:16              | 
          The issue does not occur on the latest nightly build I am using in an attempt to reproduce this (f197c5c). I am using the parent set for RayStorm (raystorm). Interestingly, upon first boot for that game, you are taken to the service menu. | 
| 
             No.22966 
            hap             Developer 
            
            Feb 7, 2025, 17:59 
            edited on:  Feb 7, 2025, 21:46              | 
          
            Irrelevant that it works on the nightly build you tried, unless it is compiled with VS2017? Also, if it works fine on current Visual Studio, IMO bug can be closed. (likely a compiler bug and not MAME's fault)  | 
        
| 
             No.22967 
            JimCarlTay             Tester 
            
            Feb 7, 2025, 18:04 
                         | 
          Unfortunately not. My build was GCC, sourced from the GitHub repo's actions page. | 
| 
             No.22969 
            Robbbert             Moderator 
            
            Feb 7, 2025, 21:59 
                         | 
          
            I don't think VS2017 is supported any more, and it doesn't make sense here to investigate a bug with one compiler. Closed as per hap's suggestion.  |