File:  [RetroPC.NET] / np2 / romimage / STARTUP.ASM
Revision 1.3: download - view: text, annotated - select for diffs
Thu Jan 22 10:10:04 2004 JST (21 years, 9 months ago) by yui
Branches: MAIN
CVS tags: HEAD
update v0.74core (T.Yui)

.186

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

FIXCS		equ		2eh

START:			jmp		short nosystems
START2:			mov		si, offset nobiosmsg
				jmp		short dispend

nosystems:		mov		si, offset nosysmsg

dispend:		mov		ax, 0a04h
				int		18h
				mov		ah, 16h
				mov		dx, 0e120h
				int		18h
				cli
				cld
				mov		ax, 0a000h
				mov		es, ax
				db		FIXCS
				lodsw
				mov		di, ax
putmsg:			db		FIXCS
				lodsw
				test	ax, ax
				je		short putmsgend
				stosw
				or		ah, ah
				je		short putmsg
				inc		di
				inc		di
				jmp		short putmsg
putmsgend:		hlt
				jmp		short putmsgend


				; システムディスクをセットしてください
nosysmsg	dw	12*160+44
			dw	3705h,3905h,4605h,6005h,4705h,2305h,3905h,2f05h
			dw	7204h,3b05h,4305h,4805h,3704h,4604h,2f04h,4004h
			dw	3504h,2404h,0

				; BASICの起動には BIOS.ROMが必要です
nobiosmsg	dw	12*160+46
			dw	0042h,0041h,0053h,0049h,0043h,4e04h,2f15h,3026h
			dw	4b04h,4f04h,0020h,0042h,0049h,004fh,0053h,002eh
			dw	0052h,004fh,004dh,2c04h,2c29h,572dh,4704h,3904h,0

CODE	ENDS
	END START


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