ntldr bootcheck

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-28 16:05:20 +02:00
parent c5c8cf354c
commit 0101a723ce
3 changed files with 22 additions and 3 deletions

View file

@ -0,0 +1,4 @@
ntldr /ntldr.bin
boot
# Shouln't happen
halt

View file

@ -39,8 +39,14 @@ serialmsg:
1:
ret
cont:
cont:
#ifdef TARGET_NTLDR
movw $0x2000, %ax
#elif defined (TARGET_CHAINLOADER)
xorw %ax, %ax
#else
#error unsupported target
#endif
movw %ax, %ds
lea message, %si
call serialmsg