https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4EEB&feed=atom&action=history83Plus:BCALLs:4EEB - Revision history2024-03-29T04:59:11ZRevision history for this page on the wikiMediaWiki 1.23.5https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4EEB&diff=5655&oldid=prevBrandonw at 07:01, 20 February 20072007-02-20T07:01:49Z<p></p>
<p><b>New page</b></p><div>[[Category:83Plus:BCALLs:By Name:Link|GetSmallPacket]] [[Category:83Plus:BCALLs:By Name|GetSmallPacket]] [[Category:83Plus:BCALLs:By Address|4EEB - GetSmallPacket]]<br />
== Synopsis ==<br />
'''Unofficial Name:''' GetSmallPacket<br />
<br />
'''BCALL Address:''' 4EEB<br />
<br />
Receives at most 14 bytes of a data packet over the link port and sends either acknowledge or bad checksum packets.<br />
<br />
=== Inputs ===<br />
* ([[83Plus:RAM:8674|header]]+2): expected size of data packet<br />
* iy+1Bh set up accordingly<br />
<br />
=== Outputs ===<br />
* Bytes are received to [[83Plus:RAM:867D|ioData]]<br />
<br />
=== Destroys ===<br />
* All<br />
<br />
== Comments ==<br />
This BCALL will throw ERR:LINK if any problems are found. It DOES NOT receive the first 4 bytes of the data packet (machine ID, command, size word). Set this up yourself.<br />
<br />
If the checksum is valid, an acknowledgement packet is sent. Otherwise, a bad checksum packet is sent and ERR:LINK is thrown.<br />
<br />
BCALL [[83Plus:BCALLs:4F8A|4F8A]] is identical to this, except it receives the bytes to [[83Plus:RAM:867D|ioData]]-1 (your guess is as good as mine).</div>Brandonw