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

From WikiTI
Jump to: navigation, search
 
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name:Link|GetDataPacket]] [[Category:83Plus:BCALLs:By Name|GetDataPacket]] [[Category:83Plus:BCALLs:By Address|4EEE - GetDataPacket]]
+
[[Category:83Plus:BCALLs:By Name:Link|GetVariableData]] [[Category:83Plus:BCALLs:By Name|GetVariableData]] [[Category:83Plus:BCALLs:By Address|5092 - GetVariableData]]
 
== Synopsis ==
 
== Synopsis ==
'''Unofficial Name:''' GetDataPacket
+
'''Unofficial Name:''' GetVariableData
  
'''BCALL Address:''' 4EEE
+
'''BCALL Address:''' 5092
  
 
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 ===
* DE: address to receive data
+
* ([[83Plus:RAM:8674|header]]+2): size of packet 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 functions the same as [[83Plus:BCALLs:4EEB|GetSmallPacket]] except it receives the first 4 bytes of the packet.
+
This BCALL will throw ERR:LINK if any problems are found. It is a subroutine of [[83Plus:BCALLs:4EEE|GetDataPacket]].
  
 
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.

Revision as of 00:11, 20 February 2007

Synopsis

Unofficial Name: GetVariableData

BCALL Address: 5092

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

Inputs

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

Outputs

  • None

Destroys

  • All

Comments

This BCALL will throw ERR:LINK if any problems are found. It is a subroutine of GetDataPacket.

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