File:  [RetroPC.NET] / np2 / romimage / BIOS / VECT02.X86
Revision 1.1: download - view: text, annotated - select for diffs
Fri Mar 19 12:36:52 2004 JST (21 years, 7 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, VER_0_77, VER_0_76, HEAD
fix bios (T.Yui)


perrbase	db	'PARITY ERROR - BASE MEMORY', 0
perrext		db	'PARITY ERROR - EXTENDED MEMORY', 0

vect02:			push	ax
				in		al, 0x42
				test	al, 0x06
				jne		short .hlt
				pop		ax
				iret
.hlt:			mov		si, perrbase
				test	al, 0x04
				jne		short .disp
				mov		si, perrext
.disp:			mov		ax, 0xa000
				mov		es, ax
				xor		di, di
				cld
				in		al, 0x31
				and		ax, byte 0x04
				shr		ax, 1
				inc		ax
				mov		dx, ax

.loop:			db		FIXCS
				lodsb
				test	al, -1
				je		short .looped
				mov		byte [es:di + 0x2000], 0x43
				stosb
				add		di, dx
				jmp		short .loop
.looped:		cli
				hlt


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