Smallest Operating System!
Smallest Operating System!
Hi!!!
I'm new here so let me introduce myself.
I'm Jose, 18 years old and I know how to program since I was 12.
I wonder, how small can a simple operating system be??
I'm interested on creating a very very small operating system,
and later on
How small do you think an OS with A GUI may require??
Thanks!
I'm new here so let me introduce myself.
I'm Jose, 18 years old and I know how to program since I was 12.
I wonder, how small can a simple operating system be??
I'm interested on creating a very very small operating system,
and later on
How small do you think an OS with A GUI may require??
Thanks!
It depends, an os can be pretty small, depending on what you want it to do, for example, a simple (eg. Hello World) OS can fit on a floppy drive, with much extra space. It also depends what you code it in, and the way you code it, as far as a GUI, you may want to wait before getting your hopes up.
NULL
Hi,
@MicrOS: Why not just do a 3 byte ".die: hlt; jmp .die" and pretend it's an OS? The other 4093 bytes are probably just a waste of time, because nobody will want to run the OS anyway...
Cheers,
Brendan
That depends on how you define "successful and working". For an embedded system where "successful and working" typically means it can run one predefined application from ROM then 4 KB is probably more than enough, but for something like a generic desktop OS you'd need at least 3 MB just for the GUI's background picture...Bobalandi wrote:Either way, 4kb, it's just not possible at this time, if ever, period. You want tiny, the smallest linux distro is 512mb, and it's regarded as tiny, I mean to have a successful and working operating system, would not only take years to make, it would have to be at least 100mb
@MicrOS: Why not just do a 3 byte ".die: hlt; jmp .die" and pretend it's an OS? The other 4093 bytes are probably just a waste of time, because nobody will want to run the OS anyway...
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
i dont think its practical to try and write an os that small, it would have no point to it.
my os: protected mode, vfs, dynamic heap, memory management, semi-working flat elf relocation, timer, keyboard driver, and paging.
this is by no means designed for size, plus it still sucks, and its 34kb in a flat binary format. This isnt including my ramfs that i load as a module... OR my bootloader (Grub)...
my os: protected mode, vfs, dynamic heap, memory management, semi-working flat elf relocation, timer, keyboard driver, and paging.
this is by no means designed for size, plus it still sucks, and its 34kb in a flat binary format. This isnt including my ramfs that i load as a module... OR my bootloader (Grub)...
That's what I'm doing, and then, after that a GUI interface over it.zeii wrote:Well, Of course it is possible.
Look at our history ...
Look back at the 60s or indeed, even the 70s.
Hell, look at the 80s.
Its all possible.
It just depends on you
Your skill, your vision,
Specifically, your determination.
~Z
I just want to learn!!
The gui has to be smaller that 10 kbs
I'll get it!!
And maybe the OS will only have a FS and Managment.
It'd be quite simple but'll be able to work as a note keeper and so!!
(Even thought some may think of it as useless)
Anyone or anyhing will make me desist
=)