OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 4:29 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 65 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: Geri's platform
PostPosted: Fri Sep 05, 2014 11:51 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
started to design the kernel.

1. malloc and free is ready, it was simply becouse the lack of mmu. not yet tested however, but i will test it soon. ~70 code line, and no security check yet for freeing by the proper process. memory size detected dinamically, no need to help by ,,bios'', and its hotplug (ram can be added dynamically to the system.) hardware mapped areas are automatically skipped.

2. process control block ready, process loading not yet ready. its very simply, becouse there is no hardware acceleration for process switch, and no interrupt, so no interrupt vectors to play around. its around 100 lines.

none of the above is tested yet, but will tested soon

_________________
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html


Top
 Profile  
 
 Post subject: Re: Geri's platform
PostPosted: Sat Sep 06, 2014 8:25 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
sound output is almost implemented

_________________
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html


Top
 Profile  
 
 Post subject: Re: Geri's platform
PostPosted: Sun Sep 07, 2014 2:35 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
mallocing and freeing 1 million 1 byte sized data with malloc: ~0.1 second (running my malloc algo on x86)
memory footprint: 25 mbyte

mallocing and freeing 1 million 10 byte sized data with malloc: ~0.1 second (running my malloc algo on x86)
memory footprint: 34 mbyte

mallocing and freeing 1 million 1..100 byte (random) sized data with malloc: ~1(best)-20(worst) second (need very very strict rewind for the malloc algo becouse of the missing mmu)
memory footprint: 74 mbyte




could be optimized later a bit, will do it for now

_________________
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html


Top
 Profile  
 
 Post subject: Re: Geri's platform
PostPosted: Sun Sep 07, 2014 3:03 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
ok, i optimised the memory demand by 30%, it also speeded up 30% from this.

also, luckily, after investigating the partitions in memory, it turns out that the brutal memory holes featured by operating system books are unexist in reality.

_________________
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html


Top
 Profile  
 
 Post subject: Re: Geri's platform
PostPosted: Wed Sep 17, 2014 2:05 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
i am in 50% of implementing fopen

_________________
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 65 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 53 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