vpinball / pinmame

PinMAME - Pinball Multiple Arcade Machine Emulator
https://www.vpforums.org
Other
181 stars 50 forks source link

NBA Fastbreak VPW flickers with new PWM code #280

Open toxieainc opened 4 months ago

toxieainc commented 4 months ago

@vbousquet Lamps now flicker with the new PWM wiring/implementation

vbousquet commented 4 months ago

Had a look: this is caused by the initial 8 step WPC GI fix (not PWM implementation). At the begin of the ball, this code leads to a value between 4 and 5, in turns doing the flicker (since it is rounded to an int and flickers in between 4 and 5). It's difficult to fix since the old code was also wrong (most table would just discard intermediate GI line since the value were not reliable). I would say that the way is to move forward and use the PWM code path. Will get in touch with VPW to see how much work this would need

toxieainc commented 2 months ago

Its a bit better now with the newer bulb code.