.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 cx, 1000h
mov bx, 8000h
mov ss, cx
mov sp, bx
add bh, 20h
mov es, bx
xor di, di
cld
lea ax, [di + 20h]
rep stosw
mov al, 0e1h
mov cx, 1fe0h
atrclr: stosb
inc di
loop atrclr
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: cli
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>