Page 35 of 55

Re: When your OS goes crazy - Screenshots

Posted: Sun May 08, 2016 1:52 pm
by Schol-R-LEA
Fair enough. TBH, I wasn't even sure if you recognized the text, or were just puzzled by the date. Hey, these days, I'm sure that there are a lot of people who wouldn't, especially on an international forum - AFAICT, it was sort of a period thing from the 1960s through 1980s and early 1990s, and mostly in the US, UK and parts of Northern Europe (in the 1940s and 1950s it was overshadowed by Animal Farm, and not highly regarded until around 1965 I gather), and while most educated people know of the book, it seems that not all that many have actually read it.

I seem to recall hearing that it had some popularity in Russia after 1991, but I don't know if that lasted very long; since I don't know how old you are off hand, I wasn't sure if you would have read it or not. Mind you, I would not expect some of the younger crowd to know it regardless - while the theme certainly has relevance, a lot of people seem to think the book itself is dated and quaint, and it seems to be dropping out of high school and college reading lists over time.

Re: When your OS goes crazy - Screenshots

Posted: Sun May 08, 2016 2:04 pm
by alexfru
Schol-R-LEA wrote:I seem to recall hearing that it had some popularity in Russia after 1991, but I don't know if that lasted very long; since I don't know how old you are off hand, I wasn't sure if you would have read it or not.
Orwell has gained some popularity again because of Russia's current internal problems.

Re: When your OS goes crazy - Screenshots

Posted: Sun May 08, 2016 2:05 pm
by Schol-R-LEA
That makes quite a bit of sense, OK.

Re: When your OS goes crazy - Screenshots

Posted: Mon May 09, 2016 1:34 am
by osdever
Schol-R-LEA wrote:Fair enough. TBH, I wasn't even sure if you recognized the text, or were just puzzled by the date. Hey, these days, I'm sure that there are a lot of people who wouldn't, especially on an international forum - AFAICT, it was sort of a period thing from the 1960s through 1980s and early 1990s, and mostly in the US, UK and parts of Northern Europe (in the 1940s and 1950s it was overshadowed by Animal Farm, and not highly regarded until around 1965 I gather), and while most educated people know of the book, it seems that not all that many have actually read it.

I seem to recall hearing that it had some popularity in Russia after 1991, but I don't know if that lasted very long; since I don't know how old you are off hand, I wasn't sure if you would have read it or not. Mind you, I would not expect some of the younger crowd to know it regardless - while the theme certainly has relevance, a lot of people seem to think the book itself is dated and quaint, and it seems to be dropping out of high school and college reading lists over time.
I didn't read it, but I know its contents: this is 1984 year, this is totalitaristic state named Oceania, and everything is controlled with government.

Re: When your OS goes crazy - Screenshots

Posted: Wed May 11, 2016 11:30 am
by Peterbjornx
Well, I used it for testing as it was the only book I had in raw text format, also amongst most young(16-~24) programmers I know 1984 is a very common book to have read.

Re: When your OS goes crazy - Screenshots

Posted: Thu May 12, 2016 4:30 pm
by mariuszp
I decided to set the WP bit to prevent my kernel from writing to read-only pages. Unfortunately quite a lot of paging structures had their RW bit clear, making them read-only when they should actualyl be writeable. Running the kernel in this state caused a lot of exceptions which led to more exceptions, causing the stack to overflow, write all over video memory, and keep going until it reached non-present memory and triple faulted.

Re: When your OS goes crazy - Screenshots

Posted: Fri May 13, 2016 2:29 am
by glauxosdever
Hi,

mariuszp wrote:I decided to set the WP bit to prevent my kernel from writing to read-only pages. Unfortunately quite a lot of paging structures had their RW bit clear, making them read-only when they should actualyl be writeable. Running the kernel in this state caused a lot of exceptions which led to more exceptions, causing the stack to overflow, write all over video memory, and keep going until it reached non-present memory and triple faulted.
You should had set the WP bit the first time you implemented paging. These exceptions, stack overflows, overwriting video memory and triple faults would not happen now.

By the way, I have the WP bit set from the time I added paging to one of my official branches.


Regards,
glauxosdever

Re: When your OS goes crazy - Screenshots

Posted: Fri May 13, 2016 10:34 am
by mariuszp
glauxosdever wrote:Hi,

mariuszp wrote:I decided to set the WP bit to prevent my kernel from writing to read-only pages. Unfortunately quite a lot of paging structures had their RW bit clear, making them read-only when they should actualyl be writeable. Running the kernel in this state caused a lot of exceptions which led to more exceptions, causing the stack to overflow, write all over video memory, and keep going until it reached non-present memory and triple faulted.
You should had set the WP bit the first time you implemented paging. These exceptions, stack overflows, overwriting video memory and triple faults would not happen now.

By the way, I have the WP bit set from the time I added paging to one of my official branches.


Regards,
glauxosdever
Yeah.. if only I knew it existed at that time :D

Re: When your OS goes crazy - Screenshots

Posted: Fri May 13, 2016 12:20 pm
by max
My new font rendering with cairo appears to cause some issues. :mrgreen:


Re: When your OS goes crazy - Screenshots

Posted: Sat May 14, 2016 5:23 am
by Ycep
max wrote:My new font rendering with cairo appears to cause some issues. :mrgreen:

My first question would be why?

Re: When your OS goes crazy - Screenshots

Posted: Sat May 14, 2016 5:25 am
by Ycep
This is how double buffering should look in 12h, right? :lol:
Image

Re: When your OS goes crazy - Screenshots

Posted: Sat May 14, 2016 5:43 am
by max
lukaandjelkovic wrote:My first question would be why?
I think it's related to some illegal memory access, I had this before but I have to figure out what the exact problem is there :)

Re: When your OS goes crazy - Screenshots

Posted: Sat May 14, 2016 6:17 am
by Ycep
max wrote:
lukaandjelkovic wrote:My first question would be why?
I think it's related to some illegal memory access, I had this before but I have to figure out what the exact problem is there :)
Oh OK... I'm just impressed with your UI style. That makes your OS very attractive.

Re: When your OS goes crazy - Screenshots

Posted: Sat May 14, 2016 3:33 pm
by max
lukaandjelkovic wrote:Oh OK... I'm just impressed with your UI style. That makes your OS very attractive.
Thanks!! I really enjoy creating UIs :P

Re: When your OS goes crazy - Screenshots

Posted: Mon Jun 06, 2016 2:38 pm
by mariuszp
Chaos has ensued in some part (or parts) of my OS. I'm still trying to figure out what went wrong. Yesterday I implemented mutexes and semaphores in userspace, and as I tried installing the GUI package, the filesystem driver paniced due to some data corruption. Upon reboot, the OS decided to format the drive and re-install itself (that's how corrupt the filesystem has become), and after installing the GUI package, I attempted to start the GUI. It came up with a black screen, randomly-plotted pixels (which in fact depend on which video mode is in use!!) and a functional mouse cursor. I pressed F11 to force a kernel panic and see the console, and I could see that for some reason, libpng suddenly fails to read some PNG files (probably the wallpaper); no GUI application started either.