OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Dec 06, 2019 6:21 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: KLIKA-OS
PostPosted: Wed Nov 27, 2019 3:45 pm 
Offline

Joined: Tue Sep 10, 2019 3:25 pm
Posts: 1
Description:

KLIKA-OS is small OS written in C and Asm. Some notable features:

  • x86_64
  • 2MB pages
  • Scheduler (kernel and user space)
  • Syscalls
  • Blocking calls e.g. window_get_message (task WAIT state)
  • Drivers: mouse, keyboard, vesa, ata, fat 12/16/32
  • Double buffered vesa graphics
  • GUI (window, button, label, image) in users space

How to run

Repository https://github.com/klikaba/klika-os already contains pre built CD and HD images. See readme.md for instructions how to run it with QEMU or VBox.

Contains small library for user apps. Code for basic GUI app looks like:

Code:
#include <klika_os.h>
#include <windows.h>

#define MSG_USER_WIN (WINDOW_USER_MESSAGE + 1)

int main() {
   message_t msg;
   window_t *window = window_create(100, 100, 300, 300, "Simple Application", MSG_USER_WIN);

   while(window_get_message(window, &msg)) {
      window_dispatch(window, &msg);
   }
   return 0;
}


More details can be found here: https://github.com/klikaba/klika-os


Attachments:
File comment: Screenshot
screen_1.png
screen_1.png [ 83.89 KiB | Viewed 202 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group