eZ80 docs
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetAppPtr

Gets the pointer of an app with the name specified in progCurrent + 1. It is likely that the first byte of progCurrent will be ti.AppObj, though this call doesn’t care about it.

This call expects the name to be zero terminated, but the name in progCurrent will not always be zero terminated if it is 8 bytes long. It is recommended to load progCurrent + 9 with 0 just to be safe.

Address: $022224

Inputs:

Outputs:

  • hl: Contains pointer to app if found, otherwise 0.
  • Carry Flag: Reset if app is found, set otherwise.

Destroys:

  • af, bc, de, hl.