nask clone assembly, it can boot tiny OS with Linux
C C++ CMake Shell Assembly Roff
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmake
data
golibc
objconv
parasol
projects
src
test
.gitignore
.travis.yml
AUTHORS
AdditionalInfo.txt
CMakeLists.txt
COPYING
ChangeLog
INSTALL
NEWS
README
README.md
appveyor.yml
harib00j.png
harib01a.png
harib01d.png
harib02a.png
harib02e.png
harib02h.png
harib03e.png
harib05d.png
harib17a.png
interactive.sh
nask_functional_test.sh
rebuild.sh

README.md

opennask Build Status Build status License: GPL v3

An 80x86 assembler like MASM/NASM for the tiny OS

Build (debian)

  • You need to install cmake, and ninja / make
// example
# apt-get install cmake ninja* libc6-dev-i386 cpputest* 

$ mkdir build
$ cd build

# if you use Unix environment
$ cmake -G "Unix Makefiles" ..
$ make

# if you can use Ninja
$ cmake -G Ninja ..
$ ninja

# or, you may want to specify compiler
$ cmake -G Ninja  -DCMAKE_C_COMPILER=gcc-4.9 -DCMAKE_CXX_COMPILER=g++-4.9

Build osask project files (debian)

  • You need to install mtools to build these files
  • You need to install QEMU to test it

'wine' will be very helpful for you to debug original nask

Build day 03, harib00i img (debian)

  • Target names are formatted like XX_day_haribxxx_{action}
    • Actions are sys, run, clean and so on
# apt-get install qemu

$ cd opennask/build
$ ninja
$ ninja 03_day_harib00i_img
$ ninja 03_day_harib00i_run

You can use make command instead of ninja

Screenshots

day3 harib00j day4 harib01a
harib00j harib01a
day4 harib01d day5 harib02a
harib01d harib02a
day5 harib02e day5 harib02h
harib02e harib02h
day6 harib03e day8 harib05d
harib03e harib05d
day20 harib17a
harib17a.png