Difference between revisions of "83Plus:Ports:0D"
From WikiTI
m |
|||
| Line 1: | Line 1: | ||
| − | + | [[Category:83Plus:Ports:By_Address|0D - Link Assist Output Buffer]] | |
| − | + | [[Category:83Plus:Ports:By_Name|Link Assist Output Buffer]] | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
== Synopsis == | == Synopsis == | ||
| − | '''Port Number:''' | + | '''Port Number:''' 0Dh |
| − | '''Function:''' | + | '''Function:''' Link Assist Output Buffer |
| − | This port | + | This port allows you to write data to be sent by the link assist. |
=== Read Values === | === Read Values === | ||
| − | + | ''None'' | |
=== Write Values === | === Write Values === | ||
| − | * [00h - FFh]: The | + | * [00h - FFh]: The byte to be written |
| − | + | == Comments == | |
| + | This port only exists on the 83+ SE and the 84+. | ||
| − | + | Check [[83Plus:Ports:09|port 9]] before you write this port, to be sure that the assist is ready. | |
| − | + | ||
== Example == | == Example == | ||
| − | + | SendByteSE: | |
| + | ld b,a | ||
| + | in a,[[83Plus:Ports:04|(4)]] | ||
| + | and 8 | ||
| + | jr z,LinkError | ||
| + | in a,[[83Plus:Ports:09|(9)]] | ||
| + | bit 5,a | ||
| + | jr nz,SendByteSE_OK | ||
| + | and 58h | ||
| + | jr z,SendByteSE | ||
| + | jr LinkError | ||
| + | SendByteSE_OK: | ||
| + | ld a,b | ||
| + | out (0Dh),a | ||
| + | or a | ||
| + | ret | ||
== Credits and Contributions == | == Credits and Contributions == | ||
| − | * ''' | + | * '''Michael Vincent:''' Original documentation of the link assist |
Revision as of 18:46, 28 March 2005
Contents
Synopsis
Port Number: 0Dh
Function: Link Assist Output Buffer
This port allows you to write data to be sent by the link assist.
Read Values
None
Write Values
- [00h - FFh]: The byte to be written
Comments
This port only exists on the 83+ SE and the 84+.
Check port 9 before you write this port, to be sure that the assist is ready.
Example
SendByteSE: ld b,a in a,(4) and 8 jr z,LinkError in a,(9) bit 5,a jr nz,SendByteSE_OK and 58h jr z,SendByteSE jr LinkError SendByteSE_OK: ld a,b out (0Dh),a or a ret
Credits and Contributions
- Michael Vincent: Original documentation of the link assist