When your OS goes crazy - Screenshots
Re: When your OS goes crazy - Screenshots
Implemented some maths functions to my kernel's runtime library because I want cool graphics stuff, so tested out some pixel plotting, and a couple famous line and ellipse drawing algorithms. Everything works but I gave some off parameters and got this! Want to become good with the graphics/mathematical side of things
- Schol-R-LEA
- Member
- Posts: 1925
- Joined: Fri Oct 27, 2006 9:42 am
- Location: Athens, GA, USA
Re: When your OS goes crazy - Screenshots
Well, that looks fine to me, if you goal was to depict a Mobius strip. I gather it wasn't, however.rwosdev wrote:Implemented some maths functions to my kernel's runtime library because I want cool graphics stuff, so tested out some pixel plotting, and a couple famous line and ellipse drawing algorithms. Everything works but I gave some off parameters and got this! Want to become good with the graphics/mathematical side of things
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
Re: When your OS goes crazy - Screenshots
That's exactly what it's like! No it wasn't the aim!!!
- zesterer
- Member
- Posts: 59
- Joined: Mon Feb 22, 2016 4:40 am
- Libera.chat IRC: zesterer
- Location: United Kingdom
- Contact:
Re: When your OS goes crazy - Screenshots
Not even Rust is immune to undefined behaviour.
Don't worry! There are enough smiley faces and hearts to solve this.
Don't worry! There are enough smiley faces and hearts to solve this.
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
http://zesterer.homenet.org/projects.shtml
Re: When your OS goes crazy - Screenshots
Just working on paging
Re: When your OS goes crazy - Screenshots
Not really going crazy, and it's actually expected behavior, but crashing nonetheless. I am currently porting my compiler/VM to my OS to provide a user-mode programming language. Here you can see it come to life.
What happened is the VM crashed because of an unimplemented opcode, which resulted in the VM trying to drop its hosting task. However, my proof-of-concept implementation is running it in the kernel task, which is "immortal" (can't be dropped). The result is that the CPU continues executing garbage and eventually raises an interrupt.
What happened is the VM crashed because of an unimplemented opcode, which resulted in the VM trying to drop its hosting task. However, my proof-of-concept implementation is running it in the kernel task, which is "immortal" (can't be dropped). The result is that the CPU continues executing garbage and eventually raises an interrupt.
My blog: http://www.rivencove.com/
Re: When your OS goes crazy - Screenshots
Happened after I pressed CTRL+D (aka, EOF) at my shell prompt
The shell should probably exit if it encounters an EOF - but first I need to figure out why I could only spawn up to PID 999
Re: When your OS goes crazy - Screenshots
One of my favorites from a few months back,
Looks like a pretty standard panic screen right? Turns the screen red and print some debug info? The reason that, shall we say, mildly surprised me is that I never programmed it to turn red. In fact, the whole operating system literally has no code to change the color of the screen!
It even got worse from there:
What it turned out to be was that I had screwed up my initial implementation of threading, and was setting the RSP0 value in the TSS to the bottom of the allocated stack region, so the stack was immediately clobbering kernel data. What happened to be right below the stack for the first thread? The default background color applied to all characters printed.
Looks like a pretty standard panic screen right? Turns the screen red and print some debug info? The reason that, shall we say, mildly surprised me is that I never programmed it to turn red. In fact, the whole operating system literally has no code to change the color of the screen!
It even got worse from there:
What it turned out to be was that I had screwed up my initial implementation of threading, and was setting the RSP0 value in the TSS to the bottom of the allocated stack region, so the stack was immediately clobbering kernel data. What happened to be right below the stack for the first thread? The default background color applied to all characters printed.
My OS: nightingale
Re: When your OS goes crazy - Screenshots
Re: When your OS goes crazy - Screenshots
Working on this....
Re: When your OS goes crazy - Screenshots
I wrote the wrong magic numbers to the wrong IO ports
Re: When your OS goes crazy - Screenshots
I tracked this down to a missing printf flag handler causing a constant fold to fail while trying to locally build a graphical demo. Wasn't even aware gcc folded stuff like this...
Re: When your OS goes crazy - Screenshots
Poor console driver tries to follow 4 "conversations" (CPU cores) at once
Current project: https://github.com/reinixOS/microsphere/