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 stdout I/O and facades for the standard library macros #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

parasyte
Copy link
Collaborator

  • The hello-ipl3font example will initialize the IS Viewer 64 as an I/O backend if detected.
  • Run the example with cen64 -is-viewer to see the console output.

- The hello-ipl3font example will initialize the IS Viewer 64 as an I/O backend if detected.
- Run the example with `cen64 -is-viewer` to see the console output.
@parasyte
Copy link
Collaborator Author

This needs to be fixed to be compatible with real IS-Viewer 64 hardware. I have attempted to correct the emulation in Cen64 over here: n64dev/cen64#232 and if that PR is accepted, I'll push an already-working commit here to fix it! <3

- This implements the real IS-Viewer 64 protocol, not the "HomebrewStdout" protocol.
@parasyte
Copy link
Collaborator Author

This doesn't actually work on hardware. From very minimal testing, reading and writing ROM addresses through memory-mapped I/O has some unexpected behavior. The CPU seems to read back its own writes, even though the physical memory is read-only. More testing is needed, but I will probably switch the IS64 detection to use DMA to avoid the readback issue.

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

1 participant