How small,Is small

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ASHLEY4

How small,Is small

Post by ASHLEY4 »

i am making a 32bit pmode Os eg: runs in ring0, no multitasking, nopaging, Like a pmode 32bit Dos, But will have better graphics and more memory (upto 4GB) etc.
I want to make a VERY SMALL OS, Like the one above, How small and what does it need to include to be considered a VERY SMALL OS for the things it does ?.

ASHLEY4.
TheUbu

RE:How small,Is small

Post by TheUbu »

ASHLEY4,

With those requirements you should be able to do that in under 20K including a few basic disk drivers.


-Christopher
ASHLEY4

RE:How small,Is small

Post by ASHLEY4 »

So 10k is ok, With no optimising.

ASHLEY4.
TheUbu

RE:How small,Is small

Post by TheUbu »

yeah that is pretty small I mean if you want to try and trim it down to 5k good luck :)

-Christopher
ASHLEY4

RE:How small,Is small

Post by ASHLEY4 »

Is that a challenge ? and what does it need to include ;-) .

ASHLEY4.
TheUbu

RE:How small,Is small

Post by TheUbu »

Ashley4,

Nah... So any reason you aren't going to support multitasking?


-Christopher
ASHLEY4

RE:How small,Is small

Post by ASHLEY4 »

It can support multi-tasking even at run time by loading a module, You can get lots of good multi-tasking OS ,So Y make another one,  What you can not get (because i tryed to find one) is a OS that is 32bit pmode with lots of functions to make programming easier and good graphics, That boot's to a menu and runs one program + bmp etc. and is about 20-30k.

This will be good for people who want to make a mp3-player for there car or from an old pc, program robot's, game's  etc.

It's a bit like a XBOX that boot's your program and we all know the XBOX  does not have multi-tasking.

ASHLEY4.
Seraph9

RE:How small,Is small

Post by Seraph9 »

Is it 10k flat binary or is it some kind of object file ? In either case hats off to you if it has a good feature set and still remains inside the 10-20k boundary. When/where will you be releasing it (or have you) ?
ASHLEY4

RE:How small,Is small

Post by ASHLEY4 »

Give or take a couple of byte's, It's in two parts the boot is a bin file,The kernel is a mz exe that is loaded by the bin file.
The kernal includes pmode drivers for atapi, floppy, vesa ,keyboard,It has functions for time/date print,cls,hex,show 640x480x24bit bmp,vesa fonts,put pixel,gaming keyboard,built in cdplayer,it sets up GDT.IDT,remapp's pic,A20.
All the vesa,keyboard etc are in include file in the mane kernal.asm

All the include file's will be made into module's and will be able to load from a list or at run time.
i will be putting out  a demo when i have done the command interrupter.
Its made with fasm.

This is not optimised, for instance the int's, Are all hand coded 256 of them,even thou most are the same.

ASHLEY4.
Post Reply