Simple bootloader doesn't work on any physical machine.
Posted: Sun Apr 23, 2023 3:13 am
I've tried it using QEMU as well as VirtualBox, it works without any issues.
Now, I've tried a multitude of ways for writing the bootloader to a USB memory stick and booting up a physical machine to display "FeadowOS", nothing works. I've been trying for 8 hours or so.. I've tried different combinations of search keywords, I've asked chatGPT, I've looked in this website, both in the main section and the forums. I've tried on 2 different laptops. I made sure to enable "Legacy Booting" whenever possible. Nothing works. Please advise. I'm an absolute beginner.
Here's the code for the bootloader before assembly:
Now, I've tried a multitude of ways for writing the bootloader to a USB memory stick and booting up a physical machine to display "FeadowOS", nothing works. I've been trying for 8 hours or so.. I've tried different combinations of search keywords, I've asked chatGPT, I've looked in this website, both in the main section and the forums. I've tried on 2 different laptops. I made sure to enable "Legacy Booting" whenever possible. Nothing works. Please advise. I'm an absolute beginner.
Here's the code for the bootloader before assembly:
Code: Select all
mov ah, 0x0e
mov al, 'F'
int 0x10
mov ah, 0x0e
mov al, 'e'
int 0x10
mov ah, 0x0e
mov al, 'a'
int 0x10
mov ah, 0x0e
mov al, 'd'
int 0x10
mov ah, 0x0e
mov al, 'o'
int 0x10
mov ah, 0x0e
mov al, 'w'
int 0x10
mov ah, 0x0e
mov al, 'O'
int 0x10
mov ah, 0x0e
mov al, 'S'
int 0x10
jmp $
times 510-($-$$) db 0
db 0x55, 0xaa