83Plus:BCALLs:4ED6

From WikiTI
Jump to: navigation, search

Synopsis

Unofficial Name: SendPacket

BCALL Address: 4ED6

Sends almost any packet you want over the link port that contains data and receives acknowledgement.

Inputs

  • (iMathPtr5): address of data to send
  • header: start of packet (4 bytes; machine ID, command, size word)
  • iy+1Bh set up accordingly

Outputs

  • B: machine ID of receiving calculator

Destroys

  • All

Comments

This BCALL will throw ERR:LINK if any problems are found.