Difference between revisions of "83Plus:BCALLs:401E"

From WikiTI
Jump to: navigation, search
m (Inputs: Linked flags)
(Destroys)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:83Plus:BCALLs:By Name:Monitor|Mon]] [[Category:83Plus:BCALLs:By Name|Mon]] [[Category:83Plus:BCALLs:By Address|401E - Mon]]
 
[[Category:83Plus:BCALLs:By Name:Monitor|Mon]] [[Category:83Plus:BCALLs:By Name|Mon]] [[Category:83Plus:BCALLs:By Address|401E - Mon]]
 +
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' Mon
 
'''Official Name:''' Mon
Line 7: Line 8:
 
Starts the system monitor. The system monitor will take over the system, and
 
Starts the system monitor. The system monitor will take over the system, and
 
report events to the application via the monitor vectors. The application must
 
report events to the application via the monitor vectors. The application must
set it’s own monitor vectors with AppInit before calling Mon. Control of the
+
set its own monitor vectors with [[83Plus:BCALLs:404B|AppInit]] before calling Mon. Control of the
 
application will never be returned from Mon.
 
application will never be returned from Mon.
  
 
=== Inputs ===
 
=== Inputs ===
* [[83Plus:Flags:28|AppAllowContext, (IY + APIFlg)]] = 1 to allow Mon to pass context keys, like
+
* [[83Plus:Flags:28|AppAllowContext, (IY + APIFlg)]] = 1 to allow Mon to pass context keys, like kYequ to the cxMain routine.
* kYequ to the cxMain routine.
+
 
* [[83Plus:Flags:0C|CurLock, (IY + curFlags)]] = 1 to lock the cursor off
 
* [[83Plus:Flags:0C|CurLock, (IY + curFlags)]] = 1 to lock the cursor off
  
Line 19: Line 19:
  
 
=== Registers Destroyed ===
 
=== Registers Destroyed ===
* ??
+
* Doesn't Matter because It doesn't return
  
 
== Comments ==
 
== Comments ==
 
The system NEVER returns from this B_CALL.  The programmer should find alternative methods of regaining control and exiting such as hooks, cxMain, etc.
 
The system NEVER returns from this B_CALL.  The programmer should find alternative methods of regaining control and exiting such as hooks, cxMain, etc.

Latest revision as of 07:46, 6 February 2008


Synopsis

Official Name: Mon

BCALL Address: 401E

Starts the system monitor. The system monitor will take over the system, and report events to the application via the monitor vectors. The application must set its own monitor vectors with AppInit before calling Mon. Control of the application will never be returned from Mon.

Inputs

Outputs

  • none

Registers Destroyed

  • Doesn't Matter because It doesn't return

Comments

The system NEVER returns from this B_CALL. The programmer should find alternative methods of regaining control and exiting such as hooks, cxMain, etc.