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

CoorMon

This routine performs very similarly to Mon, with the exception that it does the following first:

res g_style_active, (iy + sGrFlags)
call CursorOff
call CoorDisp

Afterwards, Mon is run.

It appears that this routine is used in menu contexts, such as the programs, math, or catalog menus. It is triggered when the menu is entered or exited, along with when the cursor is moved.

If this routine is called, it will not return.

Address: $020150

Inputs:

  • AppAllowContext: Set to allow Mon to pass context keys, to the cxMain routine.
  • CurLock: Set to lock the cursor off.
  • Possibly more?

Outputs:

  • System monitor takes over the system.

Destroys:

  • This routine does not return.