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.
Found an amazing bug tonight in which physical pages were being freed (at least) twice... and were allowed to be allocated multiple times as a result (very simple page stack). This, as you would imagine, causes some AWESOME memory corruption bugs that are nigh impossible to trace.
But I digress, compiling things now works (again)
Compiling a basic C file - gcc port doesn't yet know to look in /include instead of /usr/include or similar:
Running readelf on the result, you can see the INTERP section with the userspace dynamic linker:
I have been semi-regularly pushing to the github repository lately, and have just pushed to the github repo at the time of posting. This is all in the 'develop' branch; github shows master by default (and I am not actually an admin on that github project so I can't change that).
Please do note that the 'develop' branch is where the current work is being done, and is quite unstable. If you do grab the source, and have troubles with building or running Pedigree, you can create an issue on the issue tracker. It doesn't normally take long for these to get at least acknowledged, and if the issue is to do with the build system I can get a fix up quite quickly.
I spent quite some time adding proper support for clocks and timers, so now I can easily measure the recursive execution time of process trees and many other time-related functions:
Brynet-Inc wrote:Quite a few members here have written hobby OS's.. Each usually have fairly neat ways of doing things.
So what does your OS look like? CLI/GUI?
Please post a Screen Shot of your OS running in an emulator like bochs/QEMU/VMware or even on real hardware if you'd like
This would be a good way to show everyone how your OS is progressing..
Here is my silly test OS running my CPUID code.. (QEMU on OpenBSD+Blackbox)
(Someone hit me if this is the wrong topic.. but its a way to share ideas)
While building my keyboard driver, I decided it would be faster to write a utility to edit my virtual-key to character map, and then be able to generate a C file from the results to save a lot of typing. Ultimately, I want to be able to load a custom map from disk, so this utility has a future as well.
In the grids, the green highlights shows what has been completed (i.e. not 0).
Adam
The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal
"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber