Difference between revisions of "83Plus:BCALLs:4EEE"
From WikiTI
Line 1: | Line 1: | ||
− | [[Category:83Plus:BCALLs:By Name:Link| | + | [[Category:83Plus:BCALLs:By Name:Link|GetDataPacket]] [[Category:83Plus:BCALLs:By Name|GetDataPacket]] [[Category:83Plus:BCALLs:By Address|4EEE - GetDataPacket]] |
== Synopsis == | == Synopsis == | ||
− | '''Unofficial Name:''' | + | '''Unofficial Name:''' GetDataPacket |
− | '''BCALL Address:''' | + | '''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 === | ||
− | * | + | * DE: 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 | + | 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.