Difference between revisions of "83Plus:Ports:0A"

From WikiTI
Jump to: navigation, search
m
 
(Added information on what writing does.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Note:''' Do not take the information on this template page as actual documentation!
+
[[Category:83Plus:Ports:By_Address|0A - Link Assist Input Buffer/CPU Speed 1 Signaling Rate]] [[Category:83Plus:Ports:By_Name|Link Assist Input Buffer/CPU Speed 1 Signaling Rate]]
 
+
The Ports are named by their number, in hexadecimal. An example is [[83Plus:Ports:00]].
+
 
+
You also must put a variation on the following code into your page to have it categorized:
+
NaodW29-nowiki3327a7ea493057a000000001
+
 
+
----
+
 
+
 
== Synopsis ==
 
== Synopsis ==
'''Port Number:''' 06h
+
'''Port Number:''' 0Ah
  
'''Function:''' Flash Memory Paging
+
'''Function:''' Link Assist Input Buffer/CPU Speed 1 Signaling Rate
  
This port controls what page is swapped into the 4000h to 7FFFh range. ('''DO NOT''' take this template page as real documentation on port 6!)
+
This port allows you to read the data that has been received by the link assist.
  
 
=== Read Values ===
 
=== Read Values ===
* [00h - FFh]: The current port mapped to the memory range 4000h through 7FFFh.
+
* [00h - FFh]: Byte currently in the link assist's buffer.
  
 
=== Write Values ===
 
=== Write Values ===
* [00h - FFh]: The new page to swap in to the memory range 4000h through 7FFFh
+
Writing controls the signaling rate of the link assist in CPU speed mode 1. See [[83Plus:Ports:09|port 09]] for details.
  
''Note: if you would have bitwise flags for your port, label them "bit X".''
+
== Comments ==
 +
This port only exists on the 83+ SE and the 84+.
  
== Comments ==
+
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.
The behavior of this port changes in different memory map modes.
+
  
 
== Example ==
 
== Example ==
  NaodW29-nowiki3327a7ea493057a000000002
+
  GetByteSE:
 +
in a,[[83Plus:Ports:04|(4)]]
 +
and 8
 +
jr z,LinkError
 +
in a,[[83Plus:Ports:09|(9)]]
 +
bit 6,a
 +
jr nz,LinkError
 +
and 11h
 +
jr z,GetByteSE
 +
in a,(0Ah)
 +
ret
  
 
== Credits and Contributions ==
 
== Credits and Contributions ==
* '''/dev/urandom:''' Because of your randomness, this project is possible.
+
* '''Michael Vincent:''' Original documentation of the link assist

Latest revision as of 19:44, 11 August 2013

Synopsis

Port Number: 0Ah

Function: Link Assist Input Buffer/CPU Speed 1 Signaling Rate

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

Writing controls the signaling rate of the link assist in CPU speed mode 1. See port 09 for details.

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