I searched for loading second stage from boot loader first stage. I found a code and formatted it. I compiled it and ran with VirtualBox but it does not do anything. Is there a mistake about the code?
Code:
bits 16
org 7c00h
mov ah, 02h
mov al, 1
mov dl, 80h
mov ch, 0
mov dh, 0
mov cl, 2
mov bx, stage2
int 13h
jmp stage2
times 510 - ($ - $$) db 0
dw 0xaa55
stage2:
mov ax, 0e61h
;mov ah, 0eh
;mov al, 61
int 10h
cli
hlt
times 1024 - ($ - $$) db 0
I found the code from here.