Custom OS based off linux/Unix

jaeger

New Member
Joined
Apr 13, 2024
Messages
1
Reaction score
1
Credits
19
just to start this off Im making a small OS called Saturn OS. and I only got a bootloader so If you guys are interested in this you can join:
https://discord.gg/WvmE7Ys2 its just a small server to help manage and run the development of the OS

on the other hand, can somebody assemble this x86 32bit code my assembler is glitching and I got banned from stack overflow.

section .text
global _start

_start:
; Set up the stack
mov esp, stack_space

; Print the symbol to the screen
mov eax, 0x0E ; The 'print character' interrupt
mov ebx, 0x0 ; Page number
mov ecx, symbol ; Pointer to symbol
mov edx, symbol_length ; Length of symbol
int 0x10 ; Call interrupt

; Hang the system
hang:
jmp hang ; Jump to 'hang', effectively creating an infinite loop

section .data
symbol db 'S------', 0xA, 'A---------', 0xA, 'T-----------', 0xA, 'U%SETH%------', 0xA, 'R-----%%%WAGNER%%%%%', 0xA, 'N------------ %%%%', 0xA, '$-----------', 0xA, 'O---------', 0xA, 'S------', 0xA, 'v4/13/2024.1.0', 0
symbol_length equ $-symbol

section .bss
resb 8192 ; 8KB for stack
stack_space:
 

Members online


Top