What size is your OS?
What size is your OS?
Just wondering about how large some dever's OSs are.
Also, it would be nice if you guys provided some basic info about the OS to accompany the size listing.
Mine is 40k compiled with nasm and djgpp.
Networking support.
multi-threading support.
basic UI (shell style).
basic Floppy Drive support.
Also, it would be nice if you guys provided some basic info about the OS to accompany the size listing.
Mine is 40k compiled with nasm and djgpp.
Networking support.
multi-threading support.
basic UI (shell style).
basic Floppy Drive support.
Website: https://joscor.com
I've restarted mine so many times, it's kind of small at the moment. (It's all in assembly, assembled with yasm.)
I'm really working on my bootloader currently. Memory detection, kernel loading, paging (for higher half kernel, of course.), etc. The actual kernel only has some console writing functions, irqs, and some basic keyboard input.
By the by, whose is >100mb!?
I'm really working on my bootloader currently. Memory detection, kernel loading, paging (for higher half kernel, of course.), etc. The actual kernel only has some console writing functions, irqs, and some basic keyboard input.
By the by, whose is >100mb!?
C8H10N4O2 | #446691 | Trust the nodes.
Hi,
I'm also at the initial stages of a rewrite. At the moment the floppy image is 77.5 KB (uncompressed), and includes boot code, video and/or serial port output, CPU detection and not much else (written in NASM).
Previous versions ranged from about 90 K to 440 K, where the largest included 4 seperate kernels, VFS, user interface, device manager, a few device drivers and a partially complete "regional database" for internationalization (no applications or file systems).
I'm expecting a minimal version of the completed OS to fit on a floppy (i.e. no applications or GUI).
A good GUI with icons, a nice background picture, several fonts and sound could easily add 100 MB or more to any OS. There's a common proverb "A picture is worth a thousand words" - this works out to 2 thousand bytes, and only applies for very small low quality pictures (icons?).
Cheers,
Brendan
I'm also at the initial stages of a rewrite. At the moment the floppy image is 77.5 KB (uncompressed), and includes boot code, video and/or serial port output, CPU detection and not much else (written in NASM).
Previous versions ranged from about 90 K to 440 K, where the largest included 4 seperate kernels, VFS, user interface, device manager, a few device drivers and a partially complete "regional database" for internationalization (no applications or file systems).
I'm expecting a minimal version of the completed OS to fit on a floppy (i.e. no applications or GUI).
A good GUI with icons, a nice background picture, several fonts and sound could easily add 100 MB or more to any OS. There's a common proverb "A picture is worth a thousand words" - this works out to 2 thousand bytes, and only applies for very small low quality pictures (icons?).
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.
Not eligible to vote since I don't have an OS project ATM, but when I take out the debug symbols and compile with -O2 optimization, pdclib.a ends up at 69k at the moment. That is with most of <stdio.h> taken out for maintenance, no locales, no wide character support, and no <math.h>... so I fully expect to break the 200k barrier with my C library alone, before v1.0 release...
Every good solution is obvious once you've found it.
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Who's OS is above 100MB?
If only this were correct, I could convert my (all-ready heavily compressed) digital photos down to 9.8 KB instead of >1 MB.
You mistook a thousand words with a thousand characters. Assuming the average length of a word is 4 character plus punctuation (periods, commas, spaces, etc) equals 5 characters per byte. 5 * 2000 = 10000 bytes / 9.8 kilobytes per image. But then the image may be foreign and use unicodeBrendan wrote:There's a common proverb "A picture is worth a thousand words" - this works out to 2 thousand bytes, and only applies for very small low quality pictures (icons?).
If only this were correct, I could convert my (all-ready heavily compressed) digital photos down to 9.8 KB instead of >1 MB.
My OS is Perception.
That's an assumption that might hold true for English, if you use lots of swear words...MessiahAndrw wrote:Assuming the average length of a word is 4 character...
According to this list, English averages 5.10, French 5.13, Spanish 5.22, German 6.26, Turkish 6.52, and Inuktitut (Greenlandic) a whooping 14.48.
Bah, I'm in a foul mood today.
Every good solution is obvious once you've found it.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
my previous kernel iteration is by default 80k total, 10k for the kernel + bootloader stages, 70k in some demo applications, which included a text-mode window manager.
If I'd include all programs (which would give serious conflicts) the size would be about three times as big.
But it contains hardly anything useful.
If I'd include all programs (which would give serious conflicts) the size would be about three times as big.
But it contains hardly anything useful.
PXLDR has, and must have exactly 4096 bytes, kernel configuration is there (sorry for OT).
As for the kernel its 24 kB including the pascal part, user applications are ~100kB including FASM.
The kernel is compressed using APACK. UPX doesn't give the right results, plus the kernel would be less stable.
Regards
inflater
As for the kernel its 24 kB including the pascal part, user applications are ~100kB including FASM.
The kernel is compressed using APACK. UPX doesn't give the right results, plus the kernel would be less stable.
Regards
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Hi,
For 80x86 assembly language, a byte is a byte, a word is 2 bytes, a dword is 4 bytes and a qword is 8 bytes...
Cheers,
Brendan
Um, no - I'm an assembly language programmer.MessiahAndrw wrote:You mistook a thousand words with a thousand characters. Assuming the average length of a word is 4 character plus punctuation (periods, commas, spaces, etc) equals 5 characters per byte. 5 * 2000 = 10000 bytes / 9.8 kilobytes per image. But then the image may be foreign and use unicodeBrendan wrote:There's a common proverb "A picture is worth a thousand words" - this works out to 2 thousand bytes, and only applies for very small low quality pictures (icons?).
For 80x86 assembly language, a byte is a byte, a word is 2 bytes, a dword is 4 bytes and a qword is 8 bytes...
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.
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
I ment an English word not a computer wordBrendan wrote:For 80x86 assembly language, a byte is a byte, a word is 2 bytes, a dword is 4 bytes and a qword is 8 bytes...
Let's change my calculation:Solar wrote:That's an assumption that might hold true for English, if you use lots of swear words...MessiahAndrw wrote:Assuming the average length of a word is 4 character...
According to this list, English averages 5.10, French 5.13, Spanish 5.22, German 6.26, Turkish 6.52, and Inuktitut (Greenlandic) a whooping 14.48.
Bah, I'm in a foul mood today.
7.52 (6.52 + punctuation) * 2000 = 15040 bytes / 14.7 kilobytes per image
My OS is Perception.
WORD is a generic term meant to fit the architecture size. The original WORD size of the 8086 was 16 bits... or 2 bytes.Solar wrote:Ngngngn.... this one stumped me the first time about 18 years ago, and it still confuses the heck out of me.Brendan wrote:...a word is 2 bytes...
I'm sure some architectures (MIPS???) qualify 32 bits as the WORD size. I would also guess that the Intel 4004 was a 4-bit WORD and the Intel 8008 was an 8-bit WORD.
lol I just got rid of ALOT of rejected crap code that was just sitting there from previous mess ups. brought my realtek drive down to 6k.
now my os is still just as functional but is only 16k compiled.
now my os is still just as functional but is only 16k compiled.
Website: https://joscor.com