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

mex68kecb: Add Abort button, minor cleanup #12719

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eschaton
Copy link
Contributor

@eschaton eschaton commented Sep 2, 2024

Add an Abort button that triggers an NMI, just like the hardware.

Also fix the boot vector handler's comment to refer to the correct ROM location and the correct number of bytes that are mapped from the ROM.

Add an Abort button that triggers an NMI, just like the hardware.

Also fix the boot vector handler's comment to refer to the correct ROM
location and the correct number of bytes that are mapped from the ROM.
Comment on lines +110 to +112

PORT_START("ABORT")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON1) PORT_NAME("Abort button") PORT_CHANGED_MEMBER(DEVICE_SELF, mex68kecb_state, abort_button, 0)
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 want to give this a different default mapping, as I expect Control is used for typing control characters with the terminal? You can use PORT_CODE to set the default assignment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aha, excellent. That’ll be handy.

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