; task_lib.asm	James M Synge	25-May-1987
;
; Note that these glue routines do not save register A6.
; This is because they are designed for use with Aztec C
; which does not seem to expect A6 to remain unchanged
; during a subroutine call.

	dseg

; TaskBase = OpenLibrary("Task.Library",0);
	public	_TaskBase

	cseg

	public	_CreateTask
_CreateTask
	move.l	_TaskBase,a6
	jmp	_LVOCreateTask(a6)

	public	_DeleteTask
_DeleteTask
	move.l	_TaskBase,a6
	jmp	_LVODeleteTask(a6)

_LVODeleteTask	equ	-36
_LVOCreateTask	equ	-30

	end
