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

Add Casio WK-1600/1800 #12957

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Add Casio WK-1600/1800 #12957

wants to merge 3 commits into from

Conversation

devinacker
Copy link
Contributor

I'm opening this as a draft for now due to issues with the WK-1800 floppy drive, any help would be appreciated:

  • pressing the Disk button with the drive empty starts the drive motor, then the firmware waits forever on some status bit that is never set
  • pressing the Disk button with a disk inserted results in several 'forced abort' errors from the H8 DMA controller
  • wk1800 firmware seems to rely on different TS bit behavior from the HD63266 compared to a standard uPD765, but I have not checked this against other machines that use the same FDC (e.g. those Brother word processors)

New working machines

Casio WK-1800 [Edward d-tech, Devin Acker]

New working clones

Casio WK-1600 [Edward d-tech, Devin Acker]

----------
Casio WK-1800 [Edward d-tech, Devin Acker]

New working clones
----------
Casio WK-1600 [Edward d-tech, Devin Acker]
@devinacker devinacker marked this pull request as draft November 9, 2024 21:55
src/mame/casio/wk1800.cpp Outdated Show resolved Hide resolved
src/mame/casio/wk1800.cpp Outdated Show resolved Hide resolved
src/mame/casio/wk1800.cpp Outdated Show resolved Hide resolved
src/devices/sound/gt155.h Show resolved Hide resolved
src/devices/sound/gt155.h Outdated Show resolved Hide resolved
Comment on lines +210 to +211
if(inputnum == H8_INPUT_LINE_TEND0 || inputnum == H8_INPUT_LINE_TEND1)
m_tend_cb[inputnum - H8_INPUT_LINE_TEND0](state);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have you got input lines piped straight to callbacks? That’s rather suspect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is taken directly from other H8 devices that already implement TEND0/TEND1 (i.e. h83002_device, h83003_device)

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.

2 participants