83Plus:BCALLs:4ED3

From WikiTI
Revision as of 23:26, 19 February 2007 by Brandonw (Talk | contribs)

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

Synopsis

Unofficial Name: SendRAMCmd

BCALL Address: 4ED3

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

Inputs

  • A: command to send (15h for data packet, 06h/0A2h/0C9h for variable header, etc.)
  • HL: address of variable data if sending data packet
  • DE: size of packet data
  • iy+1Bh set up accordingly

Outputs

  • None

Destroys

  • All

Comments

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

It also behaves very, very strangely when (sndRecState) is 08h, (varClass) is 0Ah, and DE>=037Dh, so you should probably zero out (sndRecState) just in case.