flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 25 Jan 2009, 08:53
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 25 Jan 2009, 09:02
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 25 Jan 2009, 09:09
There are also USB and CD booting available. Perhaps also a VM for your testing?
|
|||
![]() |
|
neville 25 Jan 2009, 09:21
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 25 Jan 2009, 09:54
neville wrote:
![]() |
|||
![]() |
|
m 25 Jan 2009, 11:15
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 25 Jan 2009, 11:20
|
|||
![]() |
|
m 25 Jan 2009, 11:34
thanks
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.