I assemble my bootloader.
Code: Select all
org 0x7c00 ; We are loaded by BIOS at 0x7C00
bits 16 ; We are still in 16 bit Real Mode
Start:
cli ; Clear all Interrupts
hlt ; halt the system
times 510 - ($-$$) db 0 ; We have to be 512 bytes. Clear the rest of the bytes with 0
dw 0xAA55 ; Boot Signiture
@echo off
nasm -f bin Boot1.asm -o Boot1.bin
pause
then open VFD, create a virtual floppy and its now on my computer, called 5 1/4 floppy(B).
then i do the partcopy and i think thats fine
@echo off
partcopy boot1.bin 0 200 -f1
pause
then i load up bochs and load these settings below.
then it says must end at 0xffffff and i just go cont
then it crashes saying the drive is not ready... but VFD is open and i copied the bin onto the floppy so i dont know what to do. Help please!
# ROM and VGA BIOS images ---------------------------------------------
romimage: file=BIOS-bochs-latest, address=0xf0000
vgaromimage: file=VGABIOS-lgpl-latest
# boot from floppy using our disk image -------------------------------
floppya: 1_44=a:, status=inserted # Boot from drive A
# logging and reporting -----------------------------------------------
log: OSDev.log # All errors and info logs will output to OSDev.log
error: action=report
info: action=report