Giter VIP home page Giter VIP logo

nextos's Introduction

NextOS

Gitpod ready-to-code lines_of_code Build Automatic Release

A simple os written in c and c++.
It's a more advanced and more stable kernel than my first kernel GKernel

Featurs

  • App loading with Grub
  • Keyboard support
  • Mouse support
  • PCI support
  • Multitasking support
  • Driver Abstraction
  • VGA Mode
  • Serial COM1 Debug Log
  • Initrd
  • ATA Driver

Building

You need to install mkisofs gcc g++ as ld nasm make.
To create an ISO file you need to enter make iso.

Demo

Click here to run demo!

Syscalls

Name eax ebx ecx edx
SYSCALL_PUTC 0 char c - -
SYSCALL_PUTS 1 char* s - -
SYSCALL_PUTN 2 int number int base -
SYSCALL_CLRSCR 3 - - -
SYSCALL_SETCOLOR 4 uint32_t color - -
SYSCALL_KVERSION 5 int ver (return) - -
SYSCALL_KVENDOR 6 char* ven (return) - -
SYSCALL_EXEC 7 char* file - -
SYSCALL_INIT_TASK 8 void* entry - -
SYSCALL_TASK_EXIT 9 int errorcode - -
SYSCALL_REBOOT 10 - - -
SYSCALL_GET_TICK 12 uint32_t tick (return) - -
SYSCALL_RESET_TICK 13 - - -
SYSCALL_MULTIBOOT 14 multiboot_info *mb_info - -
SYSCALL_VGA_MODE 15 - - -
SYSCALL_VGA_SETPIXEL 16 int x int y uint32_t color
SYSCALL_VGA_SETCOLOR 17 uint32_t fgcolor uint32_t bgcolor -
SYSCALL_LOAD_INITRD 18 char* file - -
SYSCALL_FSROOT_READDIR 19 int index struct dirent *node (return) -
SYSCALL_FSROOT_FINDDIR 20 char* dir fs_node_t *fsnode (return) -
SYSCAlL_FSROOT_READ 21 uint32_t offset uint32_t size fs_node_t *fsnode
SYSCALL_GET_BUFFER 22 uint8_t* buf (return) - -
SYSCALL_INIT_DRIVER 23 char* name driver_handler_ptr driver_handler int id (return)
SYSCALL_CALL_DRIVER 24 int id void* data int data (return)
SYSCALL_FIND_DRIVER 25 char* name int id (return) -
SYSCALL_DRAW_CHAR 26 char c int x int y
SYSCALL_SETX 27 int x - -
SYSCALL_SETY 28 int y - -
SYSCALL_GETX 29 int x (return) - -
SYSCALL_GETY 30 int y (return) - -
SYSCALL_SET_KB_HANDLER 31 kb_handler handler - -
SYSCALL_SET_MOUSE_HANDLER 32 mouse_move_handler h1 mouse_button_handler h2 -
SYSCALL_GETPIXEL 33 int x int y char c (return)

Copyright

See LICENSE

nextos's People

Contributors

code-factor avatar glowman554 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

darkknight2019

nextos's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.