JOBS coded in assembly
Posted: Mon Dec 14, 2015 7:38 pm
Hi,
I'd love to follow in the discussion about jobs, started at Arrakis topic.
Basically I now know, a job has to start with the header and terminate itself at the end.
Sample header, bottom of the code area:
Sample job exit:
The Technical Guide also says that the top of the data area holds channel IDs open for a job before it was activated. This part I do not quite understand, are these IDs filled in by EXEC command?
Many thanks
Tom
I'd love to follow in the discussion about jobs, started at Arrakis topic.
Basically I now know, a job has to start with the header and terminate itself at the end.
Sample header, bottom of the code area:
Code: Select all
start jmp job_start ; bra.s job_start
dc.w 0 ; dc.l 0
dc.w $4afb
dc.w 7
dc.w 'JobName'
Code: Select all
job_end
move.l d0,d3 ; signal err_no
moveq #mt_frjob,d0
moveq #-1,d1
trap #1
Many thanks
Tom