File:  [RetroPC.NET] / np2 / np2tool / PWOFF.ASM
Revision 1.3: download - view: text, annotated - select for diffs
Thu Jun 10 13:49:48 2004 JST (21 years, 4 months ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, VER_0_80, VER_0_79, VER_0_78, HEAD
update np2tools (T.Yui)


	ORG		100h
	USE16
	CPU		8086

%include	'np2tool.inc'

START:			cld
				push	cs
				pop		ds
				cli
				call	np2_check
				jne		short err_nonnp2
				call	sendnp2port
				mov		ax, 4c00h
				int		21h

err_nonnp2:		mov		ah, 9
				mov		dx, str_illegal
				int		21h
				mov		ah, 9
				mov		dx, bx
				int		21h
				mov		ah, 9
				mov		dx, str_crlf
				int		21h
				mov		ax, 4c01h
				int		21h


%include	'np2tool.x86'
			db	8, 'poweroff'


str_illegal	db	'Illegal hardware - $'
str_crlf	db	0dh, 0ah, '$'

	ends


RetroPC.NET-CVS <cvs@retropc.net>