-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix led 30 layout issues. #14494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fix led 30 layout issues. #14494
Conversation
the led still blinking when error happens.
I forgot to add. to prevent error during compiler.
|
The point still stands. To be specific, |
Updated output finder 48 to 40 and uint8_t i = 0; i < 8; i++) to (uint8_t i = 0; i < 0; i++)
src/mame/misc/marywu.cpp
Outdated
| void marywu_state::p3_port_w(uint8_t data) // 1 led are used. | ||
| { | ||
| for (uint8_t i = 0; i < 8; i++) | ||
| for (uint8_t i = 0; i < 0; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes the loop to be executed zero times, defeating the whole purpose of adding this as a callback.
Since external memory is hooked up to the MOVX space, it's unlikely P36 and P37 are used to drive LEDs, but some of the lower 6 bits might be.
…3_port_w function
|
Currently in draft. |
Sorry for causing the confusion.
Change output_finder<40> m_leds; to output_finder<31> m_digits; change for (uint8_t i = 0; i < 8; i++) to for (uint8_t i = 0; i < 7; i++)
|
I had to remove p3_port_w due to an mistake without checking something. |
Rename inputs p1 0x80 clear credits? added p1 port description. fix typo. Currently not tested due to preliminary emulation. expected to have issues. led 30 still set off. should blink if error happen. see also mamedev#14494
I had to change uint8_t to 7 at ay2_port_b_w.
and output_finder m_leds to 31.