When your OS goes crazy - Screenshots

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.
ybilta
Posts: 3
Joined: Mon Jan 13, 2014 12:01 am

Re: When your OS goes crazy - Screenshots

Post by ybilta »

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
Attachments
glitch2.png
Glitch.png
User avatar
Bender
Member
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

Post by Bender »

Has anyone tried this? lol.
Image
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. :-P
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
qw
Member
Member
Posts: 792
Joined: Mon Jan 26, 2009 2:48 am

Re: When your OS goes crazy - Screenshots

Post by qw »

Is there a compiler with a "__bloat" modifier already?
User avatar
BASICFreak
Member
Member
Posts: 284
Joined: Fri Jan 16, 2009 8:34 pm
Location: Louisiana, USA

Re: When your OS goes crazy - Screenshots

Post by BASICFreak »

This is what happened the first time I implemented my PS/2 Mouse driver:

Image

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!
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.
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: When your OS goes crazy - Screenshots

Post by klange »

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:

Image

Image
User avatar
Lionel
Member
Member
Posts: 117
Joined: Fri Jul 16, 2010 2:16 pm
Libera.chat IRC: ryanel
Location: California

Re: When your OS goes crazy - Screenshots

Post by Lionel »

Thread switching did not go as well as planned
Image
User avatar
Bender
Member
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

Post by Bender »

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:
Are your modules relocatable? Looks like that. Is that using dynamic linking btw?
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: When your OS goes crazy - Screenshots

Post by klange »

Bender wrote:Are your modules relocatable? Looks like that. Is that using dynamic linking btw?
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).

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.
timus
Posts: 1
Joined: Tue May 20, 2014 1:06 pm

Re: When your OS goes crazy - Screenshots

Post by timus »

Threading make my os look artistic :D
zrzut ekranu4.png
vtsman
Posts: 6
Joined: Sat May 24, 2014 1:47 am
Libera.chat IRC: vtsman

Re: When your OS goes crazy - Screenshots

Post by vtsman »

Image
I forgot to check if I was putting a character within the bounds of the screen, and it had a mildly interesting result.
vtsman
Posts: 6
Joined: Sat May 24, 2014 1:47 am
Libera.chat IRC: vtsman

Re: When your OS goes crazy - Screenshots

Post by vtsman »

Here's a bug I have yet to figure out:
Image
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.
User avatar
max
Member
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

Post by max »

started writing a terminal to test my VFS, this happens on scroll :D
Image
User avatar
DavidCooper
Member
Member
Posts: 1150
Joined: Wed Oct 27, 2010 4:53 pm
Location: Scotland

Re: When your OS goes crazy - Screenshots

Post by DavidCooper »

timus wrote:Threading make my os look artistic :D
zrzut ekranu4.png
You could maybe turn that into an app for designing new kinds of tartan for kilts.
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
User avatar
Primis
Member
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

Post by Primis »

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
DewOS.png (3.26 KiB) Viewed 5620 times
"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
Image
Viperidae
Posts: 10
Joined: Sun Sep 02, 2012 7:00 pm

Re: When your OS goes crazy - Screenshots

Post by Viperidae »

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:

Image

Upon making some more changes to my OS (Which altered the symbol addresses)
Image

Took me a while to figure out that the problem was just with the linking (I thought it was a bug with my filesystem)
Post Reply