83Plus:Ports:0D

From WikiTI
Revision as of 00:25, 31 March 2006 by Jim e (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 
WaitToSend:
	in a,(4)
	and 8
	jr z,LinkError
	in a,(9)
	bit 5,a
	jr nz,SendByteSE_OK
	bit 6,a
	jr z,WaitToSend
LinkError:
	scf
	ret
SendByteSE_OK:
	ld a,b
	out (0Dh),a
	or a
	ret 

Credits and Contributions

  • Michael Vincent: Original documentation of the link assist