r/osdev
ChessOS: Chess without Linux bloat
Requirements: x86 with legacy BIOS support
I spent about six months making an operating system whose only job is playing chess. It boots straight into Chess. It is not a full OS with a file system or scheduling but it can boot from bare metal.
It runs in QEMU, other virtual machines and hardware with legacy BIOS from a USB or CD drive. I spent about 6 months across the boot loader and chess engine. It is entirely open-source for you to tinker with. There is also a Windows Installer for less technical users.
All feedback is welcome!
Thank you for Paledoptera for the artwork. Find more of their work here: https://linktr.ee/paledoptera
Website: https://chessos.xyz (includes Github link)
Unix Mac OS X successor.
I want to make a spiritual successor to mac os x.Plain and simple, but should i learn the darwin kernel or start at Unix?
i want to know where to start from.
thanks
T3ISA
Hello everyone, I wanted to share the progress on my T3ISA operating system, a system written entirely in Java using ternary logic. It is inspired by the historic Setun computer, developed in 1958 at Moscow State University under the direction of Soviet scientists Sergei Sobolev and Nikolay Brusentsov.
Note that since it is written in Java, it emulates the behavior of actual hardware, as well as an operating system I am writing for that hardware. Therefore, it could be described as an emulator with an operating system running on it.
The entire implementation is being carried out in the NetBeans IDE, and the repository is active on GitHub; however, as development is ongoing, it is preferable to await updates on its current status to access new system features.
Should I learn C or Rust?
I’ve been working as a Java programmer for a few years now.
The thing is, I’d like to learn a second programming language for lower-level tasks—specifically, I want to work on things related to operating systems. Rather than building one from scratch, I’d like to explore and modify open-source operating systems like Linux or a BSD variant.
I’m doing this purely as a hobby. What drew me to C is its simplicity (though not necessarily ease of use) compared to Java or other modern languages, and its long history of use in systems programming. On the other hand, however, there are operating systems (or components of them) being rewritten in Rust—such as GNU coreutils or the adoption of Rust in the Linux kernel.
So, would it be more useful in the long run to learn Rust, given that it might sooner or later become the standard for writing operating systems?
Thanks.
Doom and other games
Pardon my ignorance, why are Doom, and a few other games used so often on hobby OSs?
What the hell is wrong with my os?
I have a problem: In my bootloader, i have a "mov ax, 0xB800
mov es, ax
mov byte [es:0], 'C'
mov byte [es:1], 0x07" block, and works with him in the code. But, if I delete him, the Kernel won't start, and idk for what. Can someone help me?
The full code is:
bits 16
org 0x7C00
jmp short code
nop
boot_drive db 0
code:
cli
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 0x7C00
sti
mov [boot_drive], dl
mov ax, 0xB800
mov es, ax
mov byte [es:0], 'C'
mov byte [es:1], 0x07
xor ax, ax
mov ds, ax
mov si, dap
mov ah, 0x42
mov dl, [boot_drive]
int 0x13
jc .disk_error
jmp 0x0800:0x0000
.disk_error:
mov ax, 0xB800
mov es, ax
mov byte [es:0], 'K'
mov byte [es:1], 0x07
.idle:
cli
hlt
jmp .idle
dap:
db 0x10
db 0x00
dw 0x0005
dw 0x0000
dw 0x0800
dq 0x0000000000000001
times 510-($-$$) db 0
dw 0xAA55
Edit: I’m just going to leave that there and not touch it. Idk what's does, but, since it work, I never touch it again.