-
-
Notifications
You must be signed in to change notification settings - Fork 46
Part 2 serial IO lesson #88
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
base: master
Are you sure you want to change the base?
Conversation
; :: / `--<[|]= |[ m ]|| :: | ||
; :: \ .______ | ```` || :: | ||
; :: / !| `````| | + oo|| :: | ||
; :: ( ||[ ^u^]| | .. #|| :: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this!
3a0e30d
to
431baff
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Not sure about more significant testing, but I'd start thinking about how to integrate it in Ubricked for the simple "share high scores" case (although I really like @eievui5 idea here, maybe for a further improvement). Maybe start the paragraph explaining sio.asm then hooking the "share high score" routine when e.g. pressing select on the game over screen? To be honest, I don't think having an independent, standalone ROM only to showcase the serial feature is a bad idea, so I'd merge that as well. |
Hey @quinnyo do you have any news on this? |
Hi! I just lost my momentum on it towards the end of last year, when life things happened. |
@quinnyo thanks a lot! Also, since we did put bounties on this issues, if you give us an email address (you can DM me that on Discord or to 'gbcompo' at 'gbdev.io') I can send you an OpenCollective invitation to claim those $ bounties :D |
I've been doing a bit of work on this so I figured an update was in order:
Please roast it! @avivace I sent an email! |
8a9346b
to
84c8f1b
Compare
OK so I implemented something in unbricked, which seemed to make more sense than continuing with the demo/test tool. Oh, and just a note to anyone testing this: if you're using Emulicious, expect trouble -- its serial emulation is a bit weird and introduces problems that don't happen on real hardware. GBE+ serial seems good but it's a bit lacking in other areas. |
This PR adds a lesson on the serial port to resolve #42.
Still a draft because the lesson text needs to be updated.
About the implementation:
Sio (
sio.asm
) is a kind of multi-byte version of the underlying GB serial API.main.asm
is based on the BCD unbricked code.demo.asm
is a standalone test rom I used to test and debug the serial transfer implementation. It isn't part of the lesson and can be removed if necessary, but it provides more debug information than the integration with unbricked.