Difference between revisions of "83Plus:Ports:0A"
From WikiTI
m |
|||
Line 1: | Line 1: | ||
− | + | [[Category:83Plus:Ports:By_Address|0A - Link Assist Input Buffer]] | |
− | + | [[Category:83Plus:Ports:By_Name|Link Assist Input Buffer]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Synopsis == | == Synopsis == | ||
− | '''Port Number:''' | + | '''Port Number:''' 0Ah |
− | '''Function:''' | + | '''Function:''' Link Assist Input Buffer |
− | This port | + | This port allows you to read the data that has been received by the link assist. |
=== Read Values === | === Read Values === | ||
− | * [00h - FFh]: | + | * [00h - FFh]: Byte currently in the link assist's buffer. |
=== Write Values === | === Write Values === | ||
− | + | ''None'' | |
− | + | == Comments == | |
+ | This port only exists on the 83+ SE and the 84+. | ||
− | + | Check [[83Plus:Ports:09|port 9]] before you read this port, to see that there is valid data. Also, do not read this port more than once per data byte received. | |
− | + | ||
== Example == | == Example == | ||
− | + | <nowiki>GetByteSE: | |
+ | in a,(4) | ||
+ | and 8 | ||
+ | jr z,LinkError | ||
+ | in a,(9) | ||
+ | bit 6,a | ||
+ | jr nz,LinkError | ||
+ | and 11h | ||
+ | jr z,GetByteSE | ||
+ | in a,(0Ah) | ||
+ | ret</nowiki> | ||
== Credits and Contributions == | == Credits and Contributions == | ||
− | * ''' | + | * '''Michael Vincent:''' Original documentation of the link assist |
Revision as of 18:37, 28 March 2005
Contents
Synopsis
Port Number: 0Ah
Function: Link Assist Input Buffer
This port allows you to read the data that has been received by the link assist.
Read Values
- [00h - FFh]: Byte currently in the link assist's buffer.
Write Values
None
Comments
This port only exists on the 83+ SE and the 84+.
Check port 9 before you read this port, to see that there is valid data. Also, do not read this port more than once per data byte received.
Example
GetByteSE: in a,(4) and 8 jr z,LinkError in a,(9) bit 6,a jr nz,LinkError and 11h jr z,GetByteSE in a,(0Ah) ret
Credits and Contributions
- Michael Vincent: Original documentation of the link assist