=> R0 = 2 (Start new app)
R1 = pointer to command tail
R2 = currently active object pointer to write
R3 = pointer to command name
<= registers preserved, but may not return
This SWI allows you to fake starting an application. It
1 issues UpCall 256 to inform the current application - if the upcall is claimed then the error "Unable to start application"
2 issues Service_NewApplication to inform modules. If the service is claimed, then the error cannot be returned to you (as your application will now have been killed) so the error "Unable to start application" is passed to OS_GenerateError, which results in the error being sent to your parent's error handler.
3 unless the exit handler is below memory limit then all handlers below memory limit are reset to their defaults
4 the CAO is set; the current time and command tail are set
|
|
|