Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

boamaod
Copy link

@boamaod boamaod commented Jun 18, 2022

Added:

  • Sound (three volume levels)
  • Graphics modes 384x200, 400x192 (and 256x192)
  • Text modes 64x20, 80x24
  • EKDOS 2.29 and 2.30 hashes

Fixed:

  • Floppy side selection
  • Broken floppy write routine
  • Partially mapped memory mode 0
  • Some descriptions

src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
Comment on lines 307 to 393
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();
}
Copy link
Member

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.

Copy link
Author

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.

src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
hash/juku.xml Outdated Show resolved Hide resolved
hash/juku.xml Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
src/mame/mess.flt Outdated Show resolved Hide resolved
src/mame/juku/juku.cpp Outdated Show resolved Hide resolved
@boamaod
Copy link
Author

boamaod commented Nov 14, 2024

Updated and cleaned up the code and implemented most of the requested changes:

  • Dynamically derive graphics properties from system timers
  • Make keymap better fit Estonian layout it is supposed to mimic/predate
  • Add and reformat hashes to document some of the material available

Splitting up the 1986 and 1988 versions seems to be a good next development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants