Project Description

FizzBuzz OS (or just fbos) is an idea I've had in order to better grasp the fundamentals of the low level of a RISC-V machine. In practice, I'd like to build a small Operating System kernel that is able to launch three processes: one that simply prints "Fizz", another that prints "Buzz", and the third which prints "FizzBuzz". These processes are unaware of each other and it's up to the kernel to schedule them by using the timer interrupts as given on openSBI (fizz on % 3 seconds, buzz on % 5 seconds, and fizzbuzz on % 15 seconds).

This kernel provides just one system call, write, which allows any program to pass the string to be written into stdout.

This project is free software and you can find it here.

Goal for this Hackweek

  • Better understand the RISC-V SBI interface.
  • Better understand RISC-V in privileged mode.
  • Have fun.

Resources

Results

The project was a resounding success add-emoji Lots of learning, and the initial target was met.

Looking for hackers with the skills:

assembly risc-v c kernel

This project is part of:

Hack Week 24

Activity

  • 5 months ago: cmatos left this project.
  • 6 months ago: fgonzalez joined this project.
  • 6 months ago: fgonzalez liked this project.
  • 6 months ago: cmatos joined this project.
  • 6 months ago: cmatos liked this project.
  • 6 months ago: rmarliere liked this project.
  • 6 months ago: jmodak liked this project.
  • 7 months ago: rmarliere joined this project.
  • 7 months ago: mbrugger liked this project.
  • 7 months ago: digitaltomm liked this project.
  • 8 months ago: mssola added keyword "assembly" to this project.
  • 8 months ago: mssola added keyword "risc-v" to this project.
  • 8 months ago: mssola added keyword "c" to this project.
  • 8 months ago: mssola added keyword "kernel" to this project.
  • 8 months ago: mssola started this project.
  • 8 months ago: mssola originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    This project is one of its kind!