83Plus:Ports:0D

From WikiTI
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