Open ISSOtm opened 6 days ago
I have some limited test results about this. I tested various no-connection and live disconnection scenarios (cable out, power down, SC.7 == 0
).
I say 'limited' because I wasn't specifically testing what happened upon disconnection while/after receiving certain values. It seems likely that I did inadvertently test both 1
and 0
but it's possible I got lucky and always happened to transfer the right value just before disconnection.
The table shows the various scenarios (remote status) and the value received.
remote status | value rx |
---|---|
not connected | 1 |
connected, unpowered | 0 |
connected, SC.7 == 0 | 0 |
Each status includes booting up in that configuration as well as forcing that configuration after some amount of successful transfers. I found no differences in that sense so I just condensed the table down.
Originally raised as https://github.com/gbdev/pandocs/pull/556#pullrequestreview-2153629353:
This can be expanded to "what happens if the serial port is not connected to another console?"; to the best of my knowledge, bits shifted in are 1s, but this isn't stated clearly.