--- np2/romimage/STARTUP.ASM 2003/12/10 13:15:18 1.1 +++ np2/romimage/STARTUP.ASM 2004/01/22 01:10:04 1.3 @@ -8,31 +8,19 @@ FIXCS equ 2eh START: jmp short nosystems START2: mov si, offset nobiosmsg - jmp short dispend + jmp short dispend nosystems: mov si, offset nosysmsg -dispend: mov ax, 1000h - mov bx, 8000h - mov ss, ax - mov sp, bx - - mov ax, cs - mov ds, ax +dispend: mov ax, 0a04h + int 18h + mov ah, 16h + mov dx, 0e120h + int 18h + cli + cld mov ax, 0a000h mov es, ax - - mov cx, 1000h - mov ax, 0020h - xor di, di - cld - rep stosw - mov al, 0e1h - mov cx, 1fe0h -atrclr: stosb - inc di - loop atrclr - db FIXCS lodsw mov di, ax @@ -43,9 +31,11 @@ putmsg: db FIXCS stosw or ah, ah je short putmsg - add di, 2 + inc di + inc di jmp short putmsg -putmsgend: jmp short putmsgend +putmsgend: hlt + jmp short putmsgend ; システムディスクをセットしてください