opennask [](https://github.com/HobbyOSs/opennask/actions/workflows/cmake.yml) [](http://www.gnu.org/licenses/gpl-3.0)

March 21, 2026 ยท View on GitHub

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

Build (debian)

  • You need to install cmake, and ninja / make, and Raku (for rakusk assembler)
// example
# apt-get install cmake ninja-build clang clang++ lld libc6-dev-i386 linux-headers-generic bison flex libfl-dev coreutils mtools rakudo

# setup rakusk
$ ./scripts/setup_rakusk.sh

$ mkdir build
$ cd build

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

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

Build osask project files (debian)

  • You need to install mtools to build these files
  • You need to install QEMU (> 3.1) to test it

'wine' should be very useful for you to debug

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 harib00jday4 harib01a
harib00jharib01a
day4 harib01dday5 harib02a
harib01dharib02a
day5 harib02eday5 harib02h
harib02eharib02h
day6 harib03eday8 harib05d
harib03eharib05d
day20 harib17a
harib17a.png