83Plus:BCALLs:4EDC

From WikiTI
Jump to: navigation, search

Synopsis

Unofficial Name: Send4BytePacket

BCALL Address: 4EDC

Sends any 4-byte packet and receives acknowledgement packet over the link port.

Inputs

  • H: command to send (such as 09h)
  • iy+1Bh set up accordingly

Outputs

  • None

Destroys

  • All

Comments

This BCALL will throw ERR:LINK if any problems are found, including receiving anything other than an acknowledgement.

The two bytes sent after the machine ID and command can be manipulated by changing header+2 before BCALLing this entry point.