File:  [RetroPC.NET] / np2 / romimage / HDDBOOT.ASM
Revision 1.4: download - view: text, annotated - select for diffs
Sun Feb 1 05:05:23 2004 JST (21 years, 9 months ago) by yui
Branches: MAIN
CVS tags: VER_0_75, VER_0_74, HEAD
fix rom image (T.Yui)


CODE	SEGMENT
		ASSUME CS:CODE,DS:nothing,ES:nothing,SS:nothing
		ORG 0000H

FIXCS		equ		2eh

START:			jmp		short main
				nop
				nop
				db		"IPL1", 0, 0, 0, 01eh

main:			mov		ax, 0a04h
				int		18h
				mov		ah, 16h
				mov		dx, 0e120h
				int		18h
				cli
				cld
				mov		ax, 0a000h
				mov		es, ax
				mov		si, offset nosysmsg
				xor		di, di
				call	putmsg
				mov		di, 160
				call	putmsg
mine:			hlt
				jmp		short mine

putmsg:			db		FIXCS
				lodsw
				test	ax, ax
				je		short putmsgend
				stosw
				inc		di
				inc		di
				jmp		short putmsg
putmsgend:		ret


				; このハードディスクイメージはフォーマットされていません.
nosysmsg	dw	3304h,4e04h,4f05h,3c01h,4905h,4705h,2305h,3905h
			dw	2f05h,2405h,6105h,3c01h,3805h,4f04h,5505h,2905h
			dw	3c01h,5e05h,4305h,4805h,3504h,6c04h,4604h,2404h
			dw	5e04h,3b04h,7304h,2501h, 0

				; ディスクイメージを挿入後,リセットして下さい.
			dw	4705h,2305h,3905h,2f05h,2405h,6105h,3c01h,3805h
			dw	7204h,5e21h,7e26h,6518h,2401h,6a05h,3b05h,4305h
			dw	4805h,3704h,4604h,3c12h,3504h,2404h,2501h,0

CODE	ENDS
	END START


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