-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Juku E5101/E5104 into working machine status #9946
base: master
Are you sure you want to change the base?
Conversation
src/mame/juku/juku.cpp
Outdated
for (int y = 0; y < 240; y++) | ||
for (int x = 0; x < 320; x++) | ||
bitmap.pix(y, x) = BIT(m_ram[0xd800 + (y * (320 / 8) + x / 8)], 7 - (x % 8)) ? rgb_t::white() : rgb_t::black(); | ||
for (int y = 0; y < m_screen_y; y++) | ||
{ | ||
uint32_t *dest = &bitmap.pix(y); | ||
for (int x = 0; x < m_screen_x; x++) | ||
*dest++ = BIT(m_ram[0xd800 + (y * (m_screen_x / 8) + x / 8)], 7 - (x % 8)) ? rgb_t::white() : rgb_t::black(); | ||
} |
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.
You should restrict drawing to the clipping rectangle, at least vertically.
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.
Why is that? It seems that clipping rectangle currently always coincides with the visible area, which is full screen of the emulated system.
Updated and cleaned up the code and implemented most of the requested changes:
Splitting up the 1986 and 1988 versions seems to be a good next development. |
Added:
Fixed: