OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 7:39 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How much memory does your OS and userland currently use?
PostPosted: Thu Aug 01, 2019 8:03 pm 
Offline

Joined: Thu Aug 01, 2019 7:35 pm
Posts: 1
Hey there :)

so I am not asking how much virtual or physical memory you support, but rather how much memory your OS currently uses and if you already have userland code running (let's say a shell, some basic command line utilities, etc.), how much they occupy. E.g. Contiki needs ~50k of memory for a minimal system with TCP/IP stack (according to wikipedia), however that information might be outdated and I am not sure how much size (both ROM or RAM) additional tools and drivers need.

In particular I am interested in smallish implementations, that provide tools and drivers for

- little screens (character displays or pixel-based)
- keyboard and mouse drivers
- disk drivers for IDE or Flash, etc.
- maybe even sound support

On the userland side I think programs like

- basic file system tools: ls, mkdir, cp, rm, find, grep, cd, cat
- small interpreters: (sh)ells or small languages like mini py
- compilers and assemblers
- text editors
- small games like tetris, asteroids, etc.

could be considered interesting.

This post is partly inspired by the wonderful work Oscar Toledo is doing (e.g. a micro "OS" in 512 bytes: https://github.com/nanochess/bootOS) and the AGC (Apollo Guidance Computer) which operated the Apollo command (and lunar) module and apparently used ~37K words - which I found quite astounding.

Obviously this is an extreme but I wonder how much can be done with "little" memory (I know "little" is a flexible term but let's say 100K - 2M).

Thanks for your answers and happy hacking. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: SemrushBot [Bot] and 66 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group