--- np2/romimage/HDDBOOT.ASM 2003/12/10 14:56:17 1.2 +++ np2/romimage/HDDBOOT.ASM 2004/01/31 20:05:23 1.4 @@ -1,4 +1,3 @@ -.186 CODE SEGMENT ASSUME CS:CODE,DS:nothing,ES:nothing,SS:nothing @@ -6,31 +5,27 @@ CODE SEGMENT FIXCS equ 2eh -START: mov cx, 1000h - mov bx, 8000h - mov ss, cx - mov sp, bx - add bh, 20h - mov es, bx - - xor di, di +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 - lea ax, [di + 20h] - rep stosw - mov al, 0e1h - mov cx, 1fe0h -atrclr: stosb - inc di - loop atrclr - + mov ax, 0a000h + mov es, ax mov si, offset nosysmsg xor di, di call putmsg mov di, 160 call putmsg -mine: cli - hlt - jmp mine +mine: hlt + jmp short mine putmsg: db FIXCS lodsw