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 basic I/O operations for virtual devices. #3

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Add basic I/O operations for virtual devices. #3

merged 1 commit into from
Aug 6, 2024

Conversation

yezzfusl
Copy link
Owner

@yezzfusl yezzfusl commented Aug 6, 2024

  1. A new io.rs file that implements the IOController and IODevice trait.
  2. The ConsoleDevice struct implements basic console I/O operations.
  3. The CPU struct now includes an IOController.
  4. Two new instructions, input and output, have been added to interact with I/O devices.
  5. The main.rs file has been updated to create an IOController and pass it to the CPU.
  6. A MockIOController has been added for testing purposes.
  7. Additional tests have been added to verify the correctness of I/O operations.

@yezzfusl yezzfusl self-assigned this Aug 6, 2024
Copy link
Owner Author

@yezzfusl yezzfusl left a comment

Choose a reason for hiding this comment

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

Basic I/O operations are well-integrated,

@yezzfusl yezzfusl merged commit a0e94ad into main Aug 6, 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.

1 participant