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

cpu/t11: add basic support for K1801VM1 #11995

Merged
merged 1 commit into from Feb 8, 2024

Conversation

shattered
Copy link
Contributor

No description provided.

OP(op_0000), OP(halt), OP(illegal), OP(illegal), OP(illegal), OP(illegal), OP(illegal), OP(illegal),
OP(op_0000), OP(op_0001), OP(illegal), OP(illegal), OP(illegal), OP(illegal), OP(illegal), OP(illegal),
Copy link
Member

Choose a reason for hiding this comment

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

Won’t this change behaviour for all T11 family CPU devices now? As far as I can tell, this changes what was previously halt to an illegal instruction for everything besides the K1801VM1. Wouldn’t you need to also make t11_device::halt(uint16_t op) call t11_device::halt(uint16_t op) if the CPU is not a K1801VM1 to preserve current behaviour for existing CPU types?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

T11 user's manual (page B-7) lists these opcodes as reserved and not as HALT, and I believe other processors in the pdp-11 family treat them likewise.

Copy link
Member

Choose a reason for hiding this comment

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

Do you know why it was treating it as halt in the first place?

@cuavas cuavas merged commit 7364fef into mamedev:master Feb 8, 2024
5 checks passed
Mokona pushed a commit to Mokona/mame that referenced this pull request Feb 28, 2024
stonedDiscord pushed a commit to stonedDiscord/mame that referenced this pull request Apr 8, 2024
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.

None yet

2 participants