flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
Do you mean you want to "boot" your OS from a Linux command line?
If so, then just give ring0 access to your boot loader, come out of protected mode (this part can be tricky to make sure the memory is mapped correctly), and execute your OS with a jmp. |
|||
![]() |
|
m
thanks revolution,
but what i was thinking is: suppose i need to make a hello world OS, and a hello world boot loader ![]() i either need a floppy for boot loader or need to risk my hard disk partition (if i write BL there) what if my boot loader is not in the 1st sector of floppy or HD? can i just follow some grub conventions (so that grub can load my BL), and create arbitrary no. of BL in my, say, home directory, so that i can choose whichever of my BLs from GRUB command line? makes sense? |
|||
![]() |
|
revolution
There are also USB and CD booting available. Perhaps also a VM for your testing?
|
|||
![]() |
|
neville
revolution wrote: ..come out of protected mode (this part can be tricky to make sure the memory is mapped correctly) .. Sorry, couldn't help myself ![]() _________________ FAMOS - the first memory operating system |
|||
![]() |
|
revolution
neville wrote:
![]() |
|||
![]() |
|
m
Quote: There are also USB and CD booting available. Perhaps also a VM for your testing? revolution can you point me to any such site/tutorial for learning this? |
|||
![]() |
|
revolution
|
|||
![]() |
|
m
thanks
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.