Bochs says no bootable device [SOLVED]
Posted: Fri Dec 12, 2014 4:44 pm
I have no idea why this happened, qemu says the same thing.
But I can run in vortualbox, which makes me crazy.
Here are the codes you might interested in:
boot.asm
bochsrc
and the link is the img file and bochsout.txt
http://ainoob-files.stor.sinaapp.com/ainoob.zip
Please help me if you have any idea. Thanks~~
But I can run in vortualbox, which makes me crazy.
Here are the codes you might interested in:
boot.asm
Code: Select all
org 07c00h
mov ax, cs
mov ds, ax
mov es, ax
call DispStr
jmp $
DispStr:
mov ax, BootMessage
mov bp, ax
mov cx, 13
mov ax, 01301h
mov bx, 000ch
mov dl, 0
int 10h
ret
BootMessage: db "Hello,AInoob!"
times 520-($-$$) db 0
dw 0xaa55
Code: Select all
megs: 32
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/vgabios/vgabios.bin
floppya: image="a.img", status=inserted
boot: floppy
log:bochsout.txt
mouse: enabled=0
display_library: sdl
http://ainoob-files.stor.sinaapp.com/ainoob.zip
Please help me if you have any idea. Thanks~~