diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..4116047 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +# $Id$ +# The System Makefile (C) 2002 The UbixOS Project + +all: kernel + +kernel: src + (cd src/sys;make) + +clean: + (cd src/sys;make clean) \ No newline at end of file diff --git a/src/sys/Makefile b/src/sys/Makefile new file mode 100755 index 0000000..d6a114e --- /dev/null +++ b/src/sys/Makefile @@ -0,0 +1,10 @@ +# $Id$ +# Kernel Makefile (C) 2002 The UbixOS Project + +all: boot-strap + +boot-strap: boot + (cd boot;make) + +clean: + (cd boot;make clean) \ No newline at end of file diff --git a/src/sys/boot/Makefile b/src/sys/boot/Makefile new file mode 100755 index 0000000..26b7a4d --- /dev/null +++ b/src/sys/boot/Makefile @@ -0,0 +1,10 @@ +# $Id$ +# Boot Strap Makefile (C) 2002 The UbixOS Project + +all: boot + +boot: boot.s + as -o boot.o boot.s + +clean: + (rm boot) diff --git a/src/sys/boot/boot.s b/src/sys/boot/boot.s new file mode 100755 index 0000000..2fc5589 --- /dev/null +++ b/src/sys/boot/boot.s @@ -0,0 +1,24 @@ +entry start +start: + xor %ax,%ax + mov bootMsg,%si + call print + nop + +print: + lodsb + or %al,%al + jz .DONE + mov $0x0E,%ah + mov $0x00,%bh + mov $0x07,%bl + int $0x10 + jmp print + .DONE: + ret + + +.ORG 508 +bootMsg: + .byte 13,10 + .ascii "Booting UbixOS" \ No newline at end of file diff --git a/ubixos.kdevprj b/ubixos.kdevprj new file mode 100755 index 0000000..adaeb7b --- /dev/null +++ b/ubixos.kdevprj @@ -0,0 +1,120 @@ +[./Makefile.am] +files=./UbixOS-Team,./ubixos.kdevprj, +sub_dirs=src, +type=normal + +[./UbixOS-Team] +dist=true +install=false +install_location= +type=DATA + +[./ubixos.kdevprj] +dist=true +install=false +install_location= +type=DATA + +[Config for BinMakefileAm] +addcxxflags= +bin_program=ubixos +cxxflags= +ldadd= +ldflags= + +[General] +AMChanged=false +author=reddawg +email=reddawg@Laptop.DomainAtlantic.Net +kdevprj_version=1.3 +lfv_open_groups=Others +makefiles=./Makefile.am,src/Makefile.am,src/sys/Makefile.am,src/sys/include/Makefile.am,src/lib/Makefile.am,src/lib/libc/Makefile.am,src/lib/libc/include/Makefile.am,src/bin/Makefile.am,src/bin/shell/Makefile.am,Makefile.am,src/sys/boot/Makefile.am +project_name=ubixos +project_type=normal_empty +sub_dir= +version= +version_control=CVS +workspace=1 + +[LFV Groups] +GNU=AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,NEWS, +Headers=*.h,*.hxx,*.hpp,*.H, +Others=*, +Sources=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp,*.lxx,*.l++,*.ll,*.l, +Translations=*.ts,*.po, +User Interface=*.ui,*.kdevdlg,*.rc, +groups=Headers,Sources,GNU,Translations,User Interface,Others + +[Makefile] +dist=true +install=false +install_location= +type=DATA + +[Makefile.am] +files=UbixOS-Team,Makefile +sub_dirs=src +type=normal + +[UbixOS-Team] +dist=true +install=false +install_location= +type=DATA + +[src/Makefile.am] +files= +sub_dirs=sys,lib,bin, +type=normal + +[src/bin/Makefile.am] +sub_dirs=shell, +type=normal + +[src/bin/shell/Makefile.am] +sub_dirs= +type=normal + +[src/lib/Makefile.am] +sub_dirs=libc, +type=normal + +[src/lib/libc/Makefile.am] +sub_dirs=include, +type=normal + +[src/lib/libc/include/Makefile.am] +sub_dirs= +type=normal + +[src/sys/Makefile] +dist=true +install=false +install_location= +type=DATA + +[src/sys/Makefile.am] +files=src/sys/Makefile +sub_dirs=include,boot +type=normal + +[src/sys/boot/Makefile] +dist=true +install=false +install_location= +type=DATA + +[src/sys/boot/Makefile.am] +files=src/sys/boot/boot.s,src/sys/boot/Makefile +sub_dirs= +type=normal + +[src/sys/boot/boot.s] +dist=true +install=false +install_location= +type=SOURCE + +[src/sys/include/Makefile.am] +sub_dirs= +type=normal