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

Implemented i8255 and unit tests #6

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

gunterhager
Copy link
Contributor

I've ported the i8255 emulation over from chips including the respective unit tests from chips-test. Since I found some issues (floooh/chips#108) in the original implementation of the i8255 I fixed them here.

@floooh
Copy link
Owner

floooh commented Jan 20, 2025

Hmm, the i8255 Zig implementation isn't all that helpful when there's no system using it though ;) (in the C project, the Atom and CPC make use of it, but both are not trivial to move over, since more chip emulators are missing)

@floooh
Copy link
Owner

floooh commented Jan 20, 2025

PS: is the only change the bitmask thingie and fixed tests? In that case I'll probably just "backport" them to chips.

@floooh floooh merged commit 52e145f into floooh:main Jan 20, 2025
3 checks passed
@floooh
Copy link
Owner

floooh commented Jan 20, 2025

Thanks!

@gunterhager
Copy link
Contributor Author

PS: is the only change the bitmask thingie and fixed tests? In that case I'll probably just "backport" them to chips.

Yes, pretty straightforward.

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