|
From: | Josh English |
Subject: | RE: [Ykernel-proto-mono] Some more stuff to do! (booting with a h ello world) |
Date: | Tue, 20 Aug 2002 16:47:06 -0700 |
hey all,
just to give you guys a quick update, i've been playing with the linux 0.1 kernel. i should be able to write up a process for generating a "hello world" kernel from it before too long.
- Josh
-----Original Message-----
From: Ishwar Awalgaonkar [mailto:address@hidden]
Sent: Tuesday, August 20, 2002 3:00 PM
To: 'Proto'
Subject: [Ykernel-proto-mono] Some more stuff to do! (booting with a
hello world)
guys,
here is some more interesting stuff that is 'real working code'.
feels great when it works. check it out.
setup
-----
i have a redhat 7.0 installation with gcc etc (standard dev tools)
i downloaded nasm 0.98 from
http://sunsite.unc.edu/pub/Linux/devel/lang/assemblers/
become root and then do tar xfvz nasm*
then do cd nasm*
then do ./Configure and then make
you will get 2 binaries. put them in /usr/bin
stuff to do
-----------
visit http://www.nondot.org/sabre/os/files/Booting/nasmBoot.txt
start with the first program hang.asm
once you type it in and then compile it using:
nasm hang.asm -o hang.bin
then put a blank floppy in the floppy drive and say
dd if=hang.bin of=/dev/fd0 (or your floppy device here)
then reboot from this floppy. nothing happens.
hang on ;-)
now reboot in redhat and then do the next one: jump.asm and
follow the above steps. still nothing.
finally reboot back in redhat and do 1.asm and follow the above
steps. then reboot. feels cool :-)
i went ahead and did all the programs and exercises given there.
check it out guys. finally something to see rather than imagine.
lemme know your experiences.
-
ishwar
_______________________________________________
Ykernel-proto-mono mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/ykernel-proto-mono
[Prev in Thread] | Current Thread | [Next in Thread] |