Skip to content
forked from benwei/bos

A self-made Operation System in X86, Just fun for Learning

License

Notifications You must be signed in to change notification settings

dennis-gemini/bos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Environment

  • you need gcc and nasm
  • you need dd and mcopy for generated the raw floppy image

Windows XP sp3 + Cygwin

Mac OS X (10.6.8)

  • install xcode (tested with 4.0.2)
  • install cross gcc for OSX
    http://crossgcc.rts-software.org/doku.php -- gcc-4.5.2-for-linux32.dmg (65.2 MB)
    install to /usr/local/gcc-4.5.2-for-linux32/
    -- gcc-4.5.2-for-linux64.dmg (71.7 MB)
    /usr/local/gcc-4.5.2-for-linux64/

install mtools

install qemu nasm

sudo brew install qemu nasm

Ubuntu 10.04, 10.10 and 11.04

  • the most easy way to setup your environment on ubuntu by excuting script

    sh ./scripts/setup_ubuntu.sh

  • install nasm

$ sudo apt-get install nasm
(NASM version 2.08.01 compiled on Jun 5 2010)
(NASM version 2.09.04 compiled on Nov 26 2010)

  • install qemu
    $ sudo apt-get install qemu
    (tested with qemu version : 0.12.5 - 0.14.0)

  • install mtools
    $ sudo apt-get install mtools (Used to mcopy the MYOS.BIN to floppy image without root permission)

Fedora 12

  • install nasm
    $ sudo yum install nasm
    (NASM version 2.07 compiled on Jul 15 2010)

  • install qemu
    $ sudo yum install qemu
    (testied boot successfully with qemu version: 0.11.0)

How To Build

make

How to package bos.img

  • make package
  • previous command generated image file
    -- ./bos.img # a floppy image with vfat-12

build all and run

  • make run # run with qemu-system-x86_64

for new feature vfs

About

A self-made Operation System in X86, Just fun for Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 83.4%
  • Assembly 16.4%
  • Shell 0.2%