jtauber / cleese

an operating system in Python

This URL has Read+Write access

cleese /
name age message
file .gitignore Loading commit data...
file Makefile Tue Nov 04 19:35:01 -0800 2008 renamed krnl1m.ld to kernel.ld [jtauber]
file README
directory boot/
file kernel.ld Tue Nov 04 19:34:37 -0800 2008 renamed krnl1m.ld to kernel.ld [jtauber]
file kstart.asm Tue Nov 04 18:12:32 -0800 2008 switched over to simpler code from osdev bare b... [jtauber]
file main.c Tue Nov 04 18:44:26 -0800 2008 Cleaned up the indentation in C files. [Brian Rosner]
file ports.c Tue Nov 04 18:44:26 -0800 2008 Cleaned up the indentation in C files. [Brian Rosner]
directory python/
file video.c Tue Nov 04 18:44:26 -0800 2008 Cleaned up the indentation in C files. [Brian Rosner]
README
Quick instructions on getting things going. I am assuming a lot is already
done before even running make. This has only been tested on OS X 10.5.X with
a custom built toolchain (binutils-2.19/gcc-4.2.4). Buyer beware at this point.

make
cat boot/grub/stage1 boot/grub/stage2 > grub.img
hdiutil create -size 5M -fs "MS-DOS" -layout NONE cleese

Open cleese.dmg in the finder and copy KERNEL.BIN and boot to the disk image.
Unmount the disk image from the finder.

cp cleese.dmg cleese.img

(Assuming you have a custom VM setup in VMWare Fusion) Set the floppy to
grub.img. Boot it up. You will be dropped in a grub shell. Note the version is
0.96 (I obtained the newer version of GRUB from ftp://alpha.gnu.org:21//gnu/grub/grub-0.97-i386-pc.tar.gz)
I am not sure why the version shows 0.96 in VMWare.

Once you have the prompt ready change the floppy to cleese.img. Then type in
the shell:

    setup (fd0)

It should tell you it was successful at this task. Restart the VM and viola.