Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 23:48:12 -0500
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        FreeBSD Mailing List <freebsd-hackers@freebsd.org>
Subject:   using FreeBSD to create a completely new OS
Message-ID:  <CAGBxaX=y9yLBymKX8Psmer0sPFWCgAFy3gs%2BtgU7waQt2g6hKA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
For personal hobby reasons I want to write an OS completely from
scratch (due to some aspects of the design no existing OS is a
suitable starting place)... what I mean is I want to start with the
MBR (boot0) and go on from there... I only have one *REAL* machine to
work with which means I need to work with something like
emulators/virtualbox-ose... I also want to do as many automated tests
as possible (for example seeing if the installer copied the MBR [and
later other stuff] correctly to the virtual HDD).... for this reason I
have a few questions on vb (or perhaps QEMU if not possible in vb):

1. Can it be scripted?
2. Is there any documentation on the various virtual HDD formats and
such (that way I can check the "physical" drive and not by indirect
query)?

Also can people give me some idea of a good general
development/testing framework.... the one I have in mind so far is:

1. Write enough of the OS in FreeBSD to boot and give a command prompt
and then develop using it (assume that there is a working compilor
[note I am doing it completely in Java (note 1) and will be using
either gjava (gcc) or writing my own compiler])

Notes:

1. Due to OS's needing to address physical RAM directly (DMA mapped
I/O) I will be introducing some form of ptr's into java with the
compiler or native ASM



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaX=y9yLBymKX8Psmer0sPFWCgAFy3gs%2BtgU7waQt2g6hKA>