Giter Site home page Giter Site logo

carsian's Introduction

Carsian

Carsian is a 32-bit MBR OS that is written in assembly(16-bit elevated to 32 bit gdt) and 32-bit C. Output it through a 80x25 VGA memory buffer, and line-wrapping is handled with a custom implementation. Now, actually making it functional is a whole different challange.,

How it's structured

Assembly files are kept in src/. boot.asm is the first thing ran on startup. kernal_entry.asm is appended to the boot sector and is ran in 32 bit mode to launch the C file. These files are compiled together and added to the boot sector at KERNAL_OFFSET, which is currently at 0x1000.

Files that meantion pm, or protected mode, are used for elevation from 16-bits to 32-bits

Kernal files are in kernal/ and driver files are in driver/, both of which are written in C. C is entered with the main method in kernal.c. There are currently no drivers written.

How to build

This needs to be compiled on the base system, so no binaries will be distributed.

This project can be build using make.

To build bin file
$ make

collect your bin file from out/os.bin

To run in qemu
$ make run

all dependencies must be installed

Dependencies

  • ld
  • gcc
  • nasm
  • qemu-system-x86_64

Road Map

  • Get this thing running outside of an emulator
  • Decide if I want to try to get 64-bit C running
  • Get input and output fleshed out
  • Be able to read from the hard drive
  • Spread propaganda

carsian's People

Contributors

mee42 avatar

Stargazers

Dhruv Gramopadhye avatar

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.