Difference between revisions of "83Plus:BCALLs:4EEE"

From WikiTI
Jump to: navigation, search
 
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name:Link|GetVariableData]] [[Category:83Plus:BCALLs:By Name|GetVariableData]] [[Category:83Plus:BCALLs:By Address|5092 - GetVariableData]]
+
[[Category:83Plus:BCALLs:By Name:Link|GetDataPacket]] [[Category:83Plus:BCALLs:By Name|GetDataPacket]] [[Category:83Plus:BCALLs:By Address|4EEE - GetDataPacket]]
 
== Synopsis ==
 
== Synopsis ==
'''Unofficial Name:''' GetVariableData
+
'''Unofficial Name:''' GetDataPacket
  
'''BCALL Address:''' 5092
+
'''BCALL Address:''' 4EEE
  
 
Receives a data packet over the link port and sends either acknowledge or bad checksum packets.
 
Receives a data packet over the link port and sends either acknowledge or bad checksum packets.
  
 
=== Inputs ===
 
=== Inputs ===
* ([[83Plus:RAM:8674|header]]+2): size of packet data
+
* DE: address to receive data
* ([[83Plus:RAM:84DB|iMathPtr5]]): address to receive data
+
 
* ([[83Plus:RAM:83EE|arcInfo]]): page of address to receive data (if in Flash ROM)
 
* ([[83Plus:RAM:83EE|arcInfo]]): page of address to receive data (if in Flash ROM)
 +
* BC: expected size of data packet
 
* iy+1Bh set up accordingly
 
* iy+1Bh set up accordingly
  
Line 20: Line 20:
  
 
== Comments ==
 
== Comments ==
This BCALL will throw ERR:LINK if any problems are found. It is a subroutine of [[83Plus:BCALLs:4EEE|GetDataPacket]].
+
This BCALL will throw ERR:LINK if any problems are found. It functions the same as [[83Plus:BCALLs:4EEB|GetSmallPacket]] except it receives the first 4 bytes of the packet.
  
 
If the checksum is valid, an acknowledgement packet is sent. Otherwise, a bad checksum packet is sent and ERR:LINK is thrown.
 
If the checksum is valid, an acknowledgement packet is sent. Otherwise, a bad checksum packet is sent and ERR:LINK is thrown.

Latest revision as of 23:12, 19 February 2007

Synopsis

Unofficial Name: GetDataPacket

BCALL Address: 4EEE

Receives a data packet over the link port and sends either acknowledge or bad checksum packets.

Inputs

  • DE: address to receive data
  • (arcInfo): page of address to receive data (if in Flash ROM)
  • BC: expected size of data packet
  • iy+1Bh set up accordingly

Outputs

  • None

Destroys

  • All

Comments

This BCALL will throw ERR:LINK if any problems are found. It functions the same as GetSmallPacket except it receives the first 4 bytes of the packet.

If the checksum is valid, an acknowledgement packet is sent. Otherwise, a bad checksum packet is sent and ERR:LINK is thrown.