Jump to content

The Geo Operating System version 0.0.1, developed by NunoLava1998/Nuno F. has been released.

Wait, should I publish my OS release here? Even though it's just a shell with 3 commands? Okay.

 

GEO-OS 0.0.1 has a shell. It has 3 commands:

HELP: Displays the version number and author.

ERSOFMn.png

CLEAR: Well, clears the screen...

COMMAND: Displays the available commands.

zprpjcL.png

 

The minimum system requirements are:

1.06 MB of RAM (seriously)

A Pentium I will probably run it

 

No, I did not make this as a joke. Mods, don't warn me, please. I really made this. The source code of GNU GRUB at https://launchpad.net/ubuntu/+source/grub2/2.02~beta2-9 from what I know. You're welcome, GPL.

 

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to comment
https://linustechtips.com/topic/735482-geo-operating-system-001-released/
Share on other sites

Link to post
Share on other sites

2 minutes ago, Syntaxvgm said:

Even so I bet it has security flaws. 

The only security flaw is being able to accidentally write past video memory and into free space.

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

1 minute ago, SCHISCHKA said:

keep it up. What get book or material are you working from?

wiki.osdev.org/Bare_Bones

I modified a lot of things and i added a crapton of things.

This is my entire header file which externs every function and etc.:


#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>

#ifndef SYS_H
#define SYS_H

extern int x;
extern int y;
extern uint16_t *videoptr;
extern size_t strlen(const char* str);
extern void update_videoptr(void);
extern void newline(void);
extern void backspace(void);
extern void restrictions_tty(void);
extern void writec(char c, uint8_t bc, uint8_t fc);
extern void writes(const char* c, uint8_t bc, uint8_t fc);
extern void terminal_cls(void);
extern void terminal_init();
extern void lgdt(void);
extern void gdt_set_entry(int num, uint32_t base, uint32_t limit, uint8_t access, uint8_t flags);
extern void gdt_load(void);
extern void* memset(void* ptr, int val, size_t size);
extern void pushall(void);
extern void popall(void);
extern void iret(void);
extern int default_irq_c_handler(void);
extern int default_kb_c_handler(void);
extern int default_isr_handler(void);
extern int default_irq_handler(void);
extern int default_kb_handler(void);
extern void lidt(uintptr_t base, size_t limit);
extern void idt_set_gate(uint8_t num, uint32_t base, uint16_t selector, uint8_t flags);
extern void idt_flush(void);
extern void idt_start(void);
extern uint8_t inb(uint16_t port);
extern void outb(uint16_t port, uint8_t val);
extern void iow(void);
extern void irq_clear_mask(unsigned char i);
extern void pic_remap_w(int o1, int o2);
extern void pic_remap(void);
extern const char* command;
extern int strcmp(const char* a, const char* b);
extern const char* zero_string(const char* string);
extern const char* run(const char* com);
extern const char* append(unsigned char character, const char* string);
extern void kb_handler(void);
#endif

 

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

ok I'm still working through the minix book. i wanted to make my own operating system but life got in the way. now i want to go through the linux from scratch book and compile my own linux distribution. at some point between now and retirement i might create a virtual reality desktop

             ☼

ψ ︿_____︿_ψ_   

Link to post
Share on other sites

2 minutes ago, SCHISCHKA said:

ok I'm still working through the minix book. i wanted to make my own operating system but life got in the way. now i want to go through the linux from scratch book and compile my own linux distribution. at some point between now and retirement i might create a virtual reality desktop

 

My kernel is from scratch. Without GRUB which takes a crapton of space, this would be only around 35 KB. Add the ELF loader which may be 25-30KB at best and you've got a OS that is 80 KB in terms of storage and probably only needs around 200 KB of memory, while probably running fine with a Pentium I.

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

44 minutes ago, NunoLava1998 said:

My kernel is from scratch. Without GRUB which takes a crapton of space, this would be only around 35 KB. Add the ELF loader which may be 25-30KB at best and you've got a OS that is 80 KB in terms of storage and probably only needs around 200 KB of memory, while probably running fine with a Pentium I.

You know, if I can make a PSU adapter (and get an ISA video card working-mine all seem to be dead or VESA), I could try it on my 386 DX40 with 4MB of RAM.

           .;ldkO0000Okdl;.                michael@SUSE-BlackBox
        .;d00xl:^''''''^:ok00d;.            OS: openSUSE 20260405
      .d00l'                'o00d.          Kernel: x86_64 Linux 6.19.11-1-default
    .d0K^'  Okxoc;:,.          ^O0d.        Uptime: 2d 21h 52m
   .OVVAK0kOKKKKKKKKKKOxo:,      lKO.       Packages: 6556
  ,0VVAKKKKKKKKKKKKK0P^,,,^dx:    ;00,      Shell: bash 5.3.9
 .OVVAKKKKKKKKKKKKKk'.oOPPb.'0k.   cKO.     Resolution: 3840x1080
 :KVAKKKKKKKKKKKKKK: kKx..dd lKd   'OK:     DE: KDE
 lKlKKKKKKKKKOx0KKKd ^0KKKO' kKKc   lKl     WM: KWin
 lKlKKKKKKKKKK;.;oOKx,..^..;kKKK0.  lKl     GTK Theme: Breeze-Dark [GTK2], Breeze [GTK3]
 :KAlKKKKKKKKK0o;...^cdxxOK0O/^^'  .0K:     Icon Theme: breeze-dark
  kKAVKKKKKKKKKKKK0x;,,......,;od  lKP      Disk: 13T / 22T (60%)
  '0KAVKKKKKKKKKKKKKKKKKK00KKOo^  c00'      CPU: AMD Ryzen 7 5800X3D 8-Core @ 16x 4.55295GHz
   'kKAVOxddxkOO00000Okxoc;''   .dKV'       GPU: AMD Radeon RX 6700 XT (radeonsi, navi22, ACO, DRM 3.64, 6.19.11-1-default)
     l0Ko.                    .c00l'        RAM: 13127MiB / 48094MiB
      'l0Kk:.              .;xK0l'          
         'lkK0xc;:,,,,:;odO0kl'             
             '^:ldxkkkkxdl:^'    

 

Link to post
Share on other sites

7 minutes ago, The Benjamins said:

Will you be releasing versions so we can install it on a VM or a machine. Time to replace windows on all my PCs

k

 

1 minute ago, Dabombinable said:

You know, if I can make a PSU adapter (and get an ISA video card working-mine all seem to be dead or VESA), I could try it on my 386 DX40 with 4MB of RAM.

 

A 386 won't work. You'll need a pentium-capable processor. So a Pentium I works. 

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

2 minutes ago, NunoLava1998 said:

k

 

A 386 won't work. You'll need a pentium-capable processor. So a Pentium I works. 

So I have to get off my ass and finish soldering the caps back onto my Socket 7 motherboard then. I take it that it requires MMX to function?

           .;ldkO0000Okdl;.                michael@SUSE-BlackBox
        .;d00xl:^''''''^:ok00d;.            OS: openSUSE 20260405
      .d00l'                'o00d.          Kernel: x86_64 Linux 6.19.11-1-default
    .d0K^'  Okxoc;:,.          ^O0d.        Uptime: 2d 21h 52m
   .OVVAK0kOKKKKKKKKKKOxo:,      lKO.       Packages: 6556
  ,0VVAKKKKKKKKKKKKK0P^,,,^dx:    ;00,      Shell: bash 5.3.9
 .OVVAKKKKKKKKKKKKKk'.oOPPb.'0k.   cKO.     Resolution: 3840x1080
 :KVAKKKKKKKKKKKKKK: kKx..dd lKd   'OK:     DE: KDE
 lKlKKKKKKKKKOx0KKKd ^0KKKO' kKKc   lKl     WM: KWin
 lKlKKKKKKKKKK;.;oOKx,..^..;kKKK0.  lKl     GTK Theme: Breeze-Dark [GTK2], Breeze [GTK3]
 :KAlKKKKKKKKK0o;...^cdxxOK0O/^^'  .0K:     Icon Theme: breeze-dark
  kKAVKKKKKKKKKKKK0x;,,......,;od  lKP      Disk: 13T / 22T (60%)
  '0KAVKKKKKKKKKKKKKKKKKK00KKOo^  c00'      CPU: AMD Ryzen 7 5800X3D 8-Core @ 16x 4.55295GHz
   'kKAVOxddxkOO00000Okxoc;''   .dKV'       GPU: AMD Radeon RX 6700 XT (radeonsi, navi22, ACO, DRM 3.64, 6.19.11-1-default)
     l0Ko.                    .c00l'        RAM: 13127MiB / 48094MiB
      'l0Kk:.              .;xK0l'          
         'lkK0xc;:,,,,:;odO0kl'             
             '^:ldxkkkkxdl:^'    

 

Link to post
Share on other sites

5 minutes ago, Dabombinable said:

So I have to get off my ass and finish soldering the caps back onto my Socket 7 motherboard then. I take it that it requires MMX to function?

 
 

I don't even think it requires MMX. GRUB however may need it, and i see a SSE2 folder in GRUB.

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

7 minutes ago, NunoLava1998 said:

I don't even think it requires MMX. GRUB however may need it (or it may need SSE).

I can give it a go either way, I've got plenty to test with

  • 386 DX40
  • 486 DX/2 100
  • Pentium 120
  • Pentium II 233
  • Celeron 300A-333A (450MHz-500MHz actual)
  • Pentium III 667MHz&1GHz

Edit: And a K6-2 500

           .;ldkO0000Okdl;.                michael@SUSE-BlackBox
        .;d00xl:^''''''^:ok00d;.            OS: openSUSE 20260405
      .d00l'                'o00d.          Kernel: x86_64 Linux 6.19.11-1-default
    .d0K^'  Okxoc;:,.          ^O0d.        Uptime: 2d 21h 52m
   .OVVAK0kOKKKKKKKKKKOxo:,      lKO.       Packages: 6556
  ,0VVAKKKKKKKKKKKKK0P^,,,^dx:    ;00,      Shell: bash 5.3.9
 .OVVAKKKKKKKKKKKKKk'.oOPPb.'0k.   cKO.     Resolution: 3840x1080
 :KVAKKKKKKKKKKKKKK: kKx..dd lKd   'OK:     DE: KDE
 lKlKKKKKKKKKOx0KKKd ^0KKKO' kKKc   lKl     WM: KWin
 lKlKKKKKKKKKK;.;oOKx,..^..;kKKK0.  lKl     GTK Theme: Breeze-Dark [GTK2], Breeze [GTK3]
 :KAlKKKKKKKKK0o;...^cdxxOK0O/^^'  .0K:     Icon Theme: breeze-dark
  kKAVKKKKKKKKKKKK0x;,,......,;od  lKP      Disk: 13T / 22T (60%)
  '0KAVKKKKKKKKKKKKKKKKKK00KKOo^  c00'      CPU: AMD Ryzen 7 5800X3D 8-Core @ 16x 4.55295GHz
   'kKAVOxddxkOO00000Okxoc;''   .dKV'       GPU: AMD Radeon RX 6700 XT (radeonsi, navi22, ACO, DRM 3.64, 6.19.11-1-default)
     l0Ko.                    .c00l'        RAM: 13127MiB / 48094MiB
      'l0Kk:.              .;xK0l'          
         'lkK0xc;:,,,,:;odO0kl'             
             '^:ldxkkkkxdl:^'    

 

Link to post
Share on other sites

16 minutes ago, Dabombinable said:

I can give it a go either way, I've got plenty to test with

  • 386 DX40
  • 486 DX/2 100
  • Pentium 120
  • Pentium II 233
  • Celeron 300A-333A (450MHz-500MHz actual)
  • Pentium III 667MHz&1GHz

Edit: And a K6-2 500

 

SSE2 shows that it was introduced in the Pentium IIII/IV/4/whatever you like

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

1 hour ago, SCHISCHKA said:

ok I'm still working through the minix book. i wanted to make my own operating system but life got in the way. now i want to go through the linux from scratch book and compile my own linux distribution. at some point between now and retirement i might create a virtual reality desktop

If you want to start the LFS project, just one tip: RUN AWAY FROM AMD, will save you a lot of headaches... 

Link to post
Share on other sites

Ehm... I googled your name and found your previous "OSes" on GitHub (WaveSystem, DixiumOS, FastOS etc). Is this "OS" like those other ones, which seems to basically just boots into GRUB and then print some text, or is this actually an OS which you wrote?

 

I mean, The "kernel" for you DixiumOS is 33 lines long, out of which 19 are just writing text to the screen.

 

Or maybe I am just being an idiot and is missing something.

Link to post
Share on other sites

1 minute ago, NunoLava1998 said:

SSE2 shows that it was introduced in the Pentium IIII/IV/4/whatever you like

Grub seems to run on anything i386, so it might actually be fine (since the 386 did introduce i386). It can't be that different from installing Linux on a Pentium MMX: https://dflund.se/~triad/krad/linux-on-pentium-mmx.html

           .;ldkO0000Okdl;.                michael@SUSE-BlackBox
        .;d00xl:^''''''^:ok00d;.            OS: openSUSE 20260405
      .d00l'                'o00d.          Kernel: x86_64 Linux 6.19.11-1-default
    .d0K^'  Okxoc;:,.          ^O0d.        Uptime: 2d 21h 52m
   .OVVAK0kOKKKKKKKKKKOxo:,      lKO.       Packages: 6556
  ,0VVAKKKKKKKKKKKKK0P^,,,^dx:    ;00,      Shell: bash 5.3.9
 .OVVAKKKKKKKKKKKKKk'.oOPPb.'0k.   cKO.     Resolution: 3840x1080
 :KVAKKKKKKKKKKKKKK: kKx..dd lKd   'OK:     DE: KDE
 lKlKKKKKKKKKOx0KKKd ^0KKKO' kKKc   lKl     WM: KWin
 lKlKKKKKKKKKK;.;oOKx,..^..;kKKK0.  lKl     GTK Theme: Breeze-Dark [GTK2], Breeze [GTK3]
 :KAlKKKKKKKKK0o;...^cdxxOK0O/^^'  .0K:     Icon Theme: breeze-dark
  kKAVKKKKKKKKKKKK0x;,,......,;od  lKP      Disk: 13T / 22T (60%)
  '0KAVKKKKKKKKKKKKKKKKKK00KKOo^  c00'      CPU: AMD Ryzen 7 5800X3D 8-Core @ 16x 4.55295GHz
   'kKAVOxddxkOO00000Okxoc;''   .dKV'       GPU: AMD Radeon RX 6700 XT (radeonsi, navi22, ACO, DRM 3.64, 6.19.11-1-default)
     l0Ko.                    .c00l'        RAM: 13127MiB / 48094MiB
      'l0Kk:.              .;xK0l'          
         'lkK0xc;:,,,,:;odO0kl'             
             '^:ldxkkkkxdl:^'    

 

Link to post
Share on other sites

7 hours ago, LAwLz said:

Ehm... I googled your name and found your previous "OSes" on GitHub (WaveSystem, DixiumOS, FastOS etc). Is this "OS" like those other ones, which seems to basically just boots into GRUB and then print some text, or is this actually an OS which you wrote?

 

I mean, The "kernel" for you DixiumOS is 33 lines long, out of which 19 are just writing text to the screen.

 

Or maybe I am just being an idiot and is missing something.

 

My repo for Geo-OS isn't updated (and you are being a idiot technically, it clearly includes a crapton of badly-written code (DixiumOS))

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

omg that's hilarious xD those are the best commands ever!

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to post
Share on other sites

10 hours ago, NunoLava1998 said:

My repo for Geo-OS isn't updated (and you are being a idiot technically, it clearly includes a crapton of badly-written code (DixiumOS))

But even if it was updated, the fact that you think you wrote a kernel in 14 lines of code (out of which the majority are just brackets, blank lines and including libraries) is well... A bit silly don't you think?

 

I looked around in the code for a bit and it reminds me of a lot of what you'd find from a simple Google search for "tutorial how to make os kernel" (such as this tutorial, which you linked earlier).

 

Again, I might be an idiot and is missing something though.

It's great that you're interested in programing and want to make your own OS and all, but I think it's a bit silly to follow a step by step guide on "how to make an OS" and then boast about it. Especially for an 18-19 year old.

Link to post
Share on other sites

25 minutes ago, LAwLz said:

But even if it was updated, the fact that you think you wrote a kernel in 14 lines of code (out of which the majority are just brackets, blank lines and including libraries) is well... A bit silly don't you think?

 

I looked around in the code for a bit and it reminds me of a lot of what you'd find from a simple Google search for "tutorial how to make os kernel" (such as this tutorial, which you linked earlier).

 

Again, I might be an idiot and is missing something though.

It's great that you're interested in programing and want to make your own OS and all, but I think it's a bit silly to follow a step by step guide on "how to make an OS" and then boast about it. Especially for an 18-19 year old.

 
 
 

Seriously though, do you get that the lines in the kernel aren't the lines in everything in that OS? There are probably a few thousand lines in there. When you get the "lines" of an OS, it also includes other things, not the kernel main file (lol). The included files, combined, are like 20 KB. Also i just counted the lines of my OS and it actually is pretty low (Geo OS from my computer: 521 (in the lib/ folder).

 

"Especially for an 18-19 year old"  god fukin damit #osdev membar i'm not 18-19 i'm 9-10 you s-

Ryzen 7 3700X / 16GB RAM / Optane SSD / GTX 1650 / Solus Linux

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×