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

Port MCIOUT hypercall from x16-emulator, fix MACPTR bug #104

Merged

Conversation

mooinglemur
Copy link
Contributor

This adds MCIOUT, new API call for blockwise/stream write in ROM, which is also supported on x16-emulator hostfs.

Unfortunately the low byte of the PC of this new call clashes with LISTEN, so the hypercall table needed another bit.

Also, MACPTR would always return only one byte regardless of how many bytes were requested due to a mismatch between what the MACPTR was expecting as a return value from ACPTR, and what ACPTR was actually returning. I changed both MACPTR and CIOUT to match x16-emulator's implementation.

@indigodarkwolf indigodarkwolf merged commit f9bba45 into indigodarkwolf:master Oct 8, 2023
9 checks passed
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