/***   [dosint.s]
*
*	DOS int 23/24	(C)‚³‚³‚ª‚í
*
*	For GNU Assembler (GAS)
*
***/

	.text

	.align	2
_Errhdl:
	.globl	_Errhdl
	pushl	%ds
	movb	$0x24, %cl
	movl	$handler_24, %edx
	pushl	%cs
	popl	%ds
	movw	$0x2506, %ax
	int	$0x21
	popl	%ds
	ret

handler_24: 
	movb	$0x03, %al
	iret

	.align	2
_CtrlC_ignore:
	.globl	_CtrlC_ignore
	pushl	%ds
	movb	$0x23, %cl
	movl	$handler_23, %edx
	pushl	%cs
	popl	%ds
	movw	$0x2506, %ax
	int	$0x21
	popl	%ds
	ret

handler_23: 
	iret
