When your OS goes crazy - Screenshots
Re: When your OS goes crazy - Screenshots
When I switched parameters on my terminal scroll function, the screen scrolled when i had more than 25 characters on a line.
What you should see is a big ascii GOOS, the intro screen for my go-based kernel
Edit: the first picture was after I fixed the scroll code, I'm doing something wrong
What you should see is a big ascii GOOS, the intro screen for my go-based kernel
Edit: the first picture was after I fixed the scroll code, I'm doing something wrong
- Bender
- Member
- Posts: 449
- Joined: Wed Aug 21, 2013 3:53 am
- Libera.chat IRC: bender|
- Location: Asia, Singapore
Re: When your OS goes crazy - Screenshots
Has anyone tried this? lol.
Pushing it hard
EDIT: If anyone wonders why the number of reported blocks is 8181 as the system memory is around 64MB, it's because of some reserved memory by the firmware and the kernel, the kernel reserves around 30MB for the drivers, applications and memory backups. 30MB?!?!? WUT? Who cares? It's all typedef infinte unsigned long long long long __bloat today.
Pushing it hard
EDIT: If anyone wonders why the number of reported blocks is 8181 as the system memory is around 64MB, it's because of some reserved memory by the firmware and the kernel, the kernel reserves around 30MB for the drivers, applications and memory backups. 30MB?!?!? WUT? Who cares? It's all typedef infinte unsigned long long long long __bloat today.
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
(R3X Runtime VM)(CHIP8 Interpreter OS)
Re: When your OS goes crazy - Screenshots
Is there a compiler with a "__bloat" modifier already?
- BASICFreak
- Member
- Posts: 284
- Joined: Fri Jan 16, 2009 8:34 pm
- Location: Louisiana, USA
Re: When your OS goes crazy - Screenshots
This is what happened the first time I implemented my PS/2 Mouse driver:
I later made a way to disable scroll, set bounds, and move in a negative direction.
I later made a way to disable scroll, set bounds, and move in a negative direction.
BOS Source Thanks to GitHub
BOS Expanded Commentary
Both under active development!
BOS Expanded Commentary
Both under active development!
Sortie wrote:
- Don't play the role of an operating systems developer, be one.
- Be truly afraid of undefined [behavior].
- Your operating system should be itself, not fight what it is.
Re: When your OS goes crazy - Screenshots
Inspired by a certain video game, I've added a new panic screen to my OS when operating in graphical mode.
The video driver desaturates the display, adds a vignette effect, and then prints the panic message in the middle using an embedded bitmap font:
The video driver desaturates the display, adds a vignette effect, and then prints the panic message in the middle using an embedded bitmap font:
- Lionel
- Member
- Posts: 117
- Joined: Fri Jul 16, 2010 2:16 pm
- Libera.chat IRC: ryanel
- Location: California
Re: When your OS goes crazy - Screenshots
Thread switching did not go as well as planned
- Bender
- Member
- Posts: 449
- Joined: Wed Aug 21, 2013 3:53 am
- Libera.chat IRC: bender|
- Location: Asia, Singapore
Re: When your OS goes crazy - Screenshots
Are your modules relocatable? Looks like that. Is that using dynamic linking btw?Inspired by a certain video game, I've added a new panic screen to my OS when operating in graphical mode.
The video driver desaturates the display, adds a vignette effect, and then prints the panic message in the middle using an embedded bitmap font:
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
(R3X Runtime VM)(CHIP8 Interpreter OS)
Re: When your OS goes crazy - Screenshots
Indeed, they are relocatable Elf object files (the normal output with gcc -c). The module loader isn't quite as complete as a proper dynamic loader as only certain relocation types show up in static objects. Since the kernel doesn't maintain any of its Elf information (as much as I spent many hours trying to see if I could sneak the symbol table into a loadable section with a link script...), I build a separate symbol table for everything that the kernel exports. As new modules are loaded, the symbol table is expanded so modules can depend on and extend other modules (like the crash module used in these examples, which extends the kernel debug shell by adding new commands).Bender wrote:Are your modules relocatable? Looks like that. Is that using dynamic linking btw?
e: For anyone discovering this post in the future, I'm aware of the availability of ELF symbols in Multiboot, but I'm a heavy user of QEMU's -kernel option, and QEMU's Multiboot loader does not support the ELF symbol table information, so relying on it was not suitable.
Last edited by klange on Wed May 21, 2014 12:30 am, edited 1 time in total.
Re: When your OS goes crazy - Screenshots
Threading make my os look artistic
Re: When your OS goes crazy - Screenshots
I forgot to check if I was putting a character within the bounds of the screen, and it had a mildly interesting result.
Re: When your OS goes crazy - Screenshots
Here's a bug I have yet to figure out:
I'm switching over my terminal to use a list of my text, but it seems to be dumping the memory of some location I have yet to find. There's more garbage that it spits out, and as far as I can tell, it loops around to the same address infinitely.
Edit: For those of you wondering what went wrong, I used a text buffer without allocating its lists, so I was essentially writing to and printing from my kernel.
I'm switching over my terminal to use a list of my text, but it seems to be dumping the memory of some location I have yet to find. There's more garbage that it spits out, and as far as I can tell, it loops around to the same address infinitely.
Edit: For those of you wondering what went wrong, I used a text buffer without allocating its lists, so I was essentially writing to and printing from my kernel.
Last edited by vtsman on Sun Jun 22, 2014 7:26 pm, edited 1 time in total.
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: When your OS goes crazy - Screenshots
started writing a terminal to test my VFS, this happens on scroll
- DavidCooper
- Member
- Posts: 1150
- Joined: Wed Oct 27, 2010 4:53 pm
- Location: Scotland
Re: When your OS goes crazy - Screenshots
You could maybe turn that into an app for designing new kinds of tartan for kilts.timus wrote:Threading make my os look artistic
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
- Primis
- Member
- Posts: 62
- Joined: Fri May 14, 2010 3:46 pm
- Libera.chat IRC: Primis
- Location: New York, NY
- Contact:
Re: When your OS goes crazy - Screenshots
Well, Sortie was telling me to fix my interrupt code to not violate the ABI calling (somthing about following a forbidden tutorial) and when I went to test the code, I got this nice screen rather than my normal output!
- Attachments
-
- DewOS.png (3.26 KiB) Viewed 5629 times
Re: When your OS goes crazy - Screenshots
My kernel loads a list of symbols from the initrd image that is uses to link kernel modules. Upon rewriting my tool to create the initrd image I forget to update the kernel symbol list (So the linker was using old symbol addresses). This was the result:
Upon making some more changes to my OS (Which altered the symbol addresses)
Took me a while to figure out that the problem was just with the linking (I thought it was a bug with my filesystem)
Upon making some more changes to my OS (Which altered the symbol addresses)
Took me a while to figure out that the problem was just with the linking (I thought it was a bug with my filesystem)