Hey, does anyone know any good tutorials on memory managment? I'm stuck and dont know where to start coding, I have gotten past the bootloader and bootstrap and I am working on the kernel. Any help will be highly apriciated
-Steven
Memory managment - how to?
- stevenup7002
- Member
- Posts: 60
- Joined: Tue Sep 20, 2005 11:00 pm
- Location: Ireland
- Contact:
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Memory managment - how to?
I found some useful docs at http://www.osdever.net/tutorials.php?cat=6&sort=3
-
- Member
- Posts: 144
- Joined: Tue Oct 26, 2004 11:00 pm
- Location: Australia
Re: Memory managment - how to?
My OS manages memory by keeping a linked list of all the free blocks of memory.
If you want the code give me a buzz ([email protected])
However I don't know if my code is the best, since my OS has a bug where if the kernel is bigger than 22k it refuses to boot (but it hangs before this code is initialised so the source of this bug beats me lol)
Adam
If you want the code give me a buzz ([email protected])
However I don't know if my code is the best, since my OS has a bug where if the kernel is bigger than 22k it refuses to boot (but it hangs before this code is initialised so the source of this bug beats me lol)
Adam
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
--- Albert Einstein
Re: Memory managment - how to?
You can also try http://www.mega-tokyo.com/osfaq2/index.php. I found this site very helpful in my early stages.
- stevenup7002
- Member
- Posts: 60
- Joined: Tue Sep 20, 2005 11:00 pm
- Location: Ireland
- Contact: