Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagenone
titleNQ_Wai ($860F), Who am I? (system use only)
IN:  BC = NQ_Wai
OUT: IX = static process handle
     BCC = dynamic process handle (PID)
	 B = 0

Registers changed after return:
     A...DEHL/..IY same
     .FBC..../IX.. different

...

Notes

  • Static process handle is unique to each application. It follows slot number and application order in slot (0-31 for slot 0, 32-63 slot 1, 64-95 slot 2, 96-127 slot 3, 128-255 installed applications).
  • Dynamic process handle (PID equivalent) is unique to each suspended or running process (range 2-127, Index is always number 1).

NQ_Com

Code Block
languagenone
titleNQ_Com ($8612), Read comms handle
IN:  BC = NQ_Com
OUT: IX = comms handle

Registers changed after return:
     A.BCDEHL/..IY same
     .F....../IX.. different

Notes

Use ":COM" device instead.

...

Code Block
languagenone
titleNQ_Ihn ($8615), Read IN handle
IN:  BC = NQ_Ihn
OUT: IX = IN handle

Registers changed after return:
     A.BCDEHL/..IY same
     .F....../IX.. different

Notes

Use ":INP" device instead.

...

Code Block
languagenone
titleNQ_Ohn ($8618), Read OUT handle
IN:  BC = NQ_Ohn
OUT: IX = OUT handle

Registers changed after return:
     A.BCDEHL/..IY same
     .F....../IX.. different

Notes

Use ":OUT" device instead.

...