83Plus:BCALLs:4F4B

From WikiTI
Revision as of 00:43, 20 February 2007 by Brandonw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Unofficial Name: RejectCommand

BCALL Address: 4F4B

Finishes receiving a silent link command and then rejects it by sending an acknowledgement packet and then the skip/exit packet with a value of 5, then receiving an acknowledgement.

Inputs

  • E: zero
  • A: current value of port 0

Outputs

  • 4 bytes received to header
  • A: second byte received

Destroys

  • All

Comments

This is the link activity hook used by the OS. "add a,e" is actually run when you BCALL it, so make sure E is zero. I can't fathom why they did this.

You also probably should not call it unless you have detected link activity (for use in the link activity hook).