00077417008e[HD ] device set to 0 which does not exist
00077417301e[HD ] device set to 1 which does not exist
But I don't suppose that matters much. Here's the bootloader and the kernel is attached. Compiled with FASM (no errors) and floppy'd with
partcopy boot.bin 0 200 -f0
partcopy kernel.bin 200 400 -f0
Code: Select all
; Bootloader
; _______________
; Set this up as our bootloader
org 0x7C00
use16
dw 0x55AA
; Load the second sector into RAM at 0x1000:0x0000 (64KB)
mov dl,0x00
mov bx,0x1000
mov es,bx
mov bx,0x0000
mov ch,0x01
mov cl,0x02
mov dh,0x01
mov al,0x01
mov cl,0x02
mov ah,0x02
int 0x13
; Set the kernel as our data segment
mov ax, 0x1000
mov ds, ax
; Jump to the kernel
jmp 0x1000:0x000
; Fill up the sector
times 512-($-$$)-2 db 0

