/ C library - alarm, pause

.globl	_alarm
.globl	_pause
alarm = 27.
pause = 29.

.globl	cerror

_alarm:
	mov	r5,-(sp)
	mov	sp,r5
	mov	4(r5),r0
	sys	alarm
	mov	(sp)+,r5
	rts	pc

_pause:
	mov	r5,-(sp)
	mov	sp,r5
	sys	pause
	bec	1f
	jmp	cerror
1:
	clr	r0
	mov	(sp)+,r5
	rts	pc
