GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 64/ByteOS: A simple hobby operating system for the x86-64 architecture

BranchesTags
Open more actions menu

Latest commit

 

History

190 Commits
190 Commits

Folders and files

NameName
Last commit message
Last commit date
include
include
 
 
iso/boot/grub
iso/boot/grub
 
 
kernel
kernel
 
 
libk
libk
 
 
util
util
 
 
vendor
vendor
 
 
.gdbinit
.gdbinit
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
LICENSE.md
LICENSE.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
TODO.md
TODO.md
 
 
linker.ld
linker.ld
 
 

Repository files navigation

ByteOS

A simple hobby operating system for the x86_64 architecture, written in C.

Screenshot

The design is heavily influenced by the Linux kernel, and as such you may find many similarities between the two.

This repository is licensed under the GPLv3. See LICENSE.md for more details.

Historical Note

I wrote most of the code here when I was 16-17 and didn't know better. There are some parts (mainly the bits involving atomics) that I'm not particularly proud of, so copy at your own peril. If you find a problem, feel free to open an issue or send a PR.

Building

You will need:

  • GNU binutils for x86_64-elf
  • gcc for x86_64-elf with -mno-red-zone and C11 capabilities (instructions)
  • Make
  • NASM
  • GRUB 2.02 (Multiboot2 compatible - may need to build from source)

Then, to build byteos.iso, simply run:

make

Running

You will need (in addition to the above dependencies):

  • QEMU x86_64

Then, to run in QEMU:

make run

Debugging

Debugging requires a specially patched version of GDB for interoperability with QEMU. Once you have this installed, simply run the debug make target.

Testing

First run the update-modules make target to download the necessary files. Then, simply run make test.

See Makefile for more details.

Contributing

Feel free to open an issue if you have any questions/concerns or a pull-request if you would like to contribute some code.

Special thanks to no92 for massively cleaning up the build system.

About

A simple hobby operating system for the x86-64 architecture

Topics

kerneloperating-systemosx86-64

Resources

Readme
GPL-3.0 license
Activity

Stars

82 stars

Watchers

5 watching

Forks

17 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.