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.
thumble
Member
Member
Posts: 29
Joined: Thu May 25, 2017 10:41 pm

Re: When your OS goes crazy - Screenshots

Post by thumble »

Not so much a screw-up as utilization of some common failures in this thread;
I made a program to show memory "graphically" by copying it to the command buffer.
You can move it forward 1 byte with A or 1024 bytes (1 kb.) with B, and show a little help info + the current location with C.
Here is a demo pic:

Image
User avatar
MajickTek
Member
Member
Posts: 101
Joined: Sat Dec 17, 2016 6:58 am
Libera.chat IRC: MajickTek
Location: The Internet
Contact:

Re: When your OS goes crazy - Screenshots

Post by MajickTek »

thumble wrote:Not so much a screw-up as utilization of some common failures in this thread;
I made a program to show memory "graphically" by copying it to the command buffer.
You can move it forward 1 byte with A or 1024 bytes (1 kb.) with B, and show a little help info + the current location with C.
Here is a demo pic:
NEVER try this on real hardware!!!! This could potentially have problems (corrupting memory) if you are not careful (accidentally writing video memory to the hard drive)
Everyone should know how to program a computer, because it teaches you how to think! -Steve Jobs

Code: Select all

while ( ! ( succeed = try() ) ); 
thumble
Member
Member
Posts: 29
Joined: Thu May 25, 2017 10:41 pm

Re: When your OS goes crazy - Screenshots

Post by thumble »

Phewph! I did test it on real hardware, however it was an Acer laptop which refused to boot Windows anyways.
Thank you for the warning.
User avatar
Stellaris
Posts: 6
Joined: Sun Dec 10, 2017 11:15 am

Re: When your OS goes crazy - Screenshots

Post by Stellaris »

Some rather interesting results originating from (I assume) a faultly paging implementation, or a bug in my memcpy function :

Image

Image
My C++ OS Project : https://github.com/Stellaris-code/LudOS
FAT read support, Tar, VESA, AHCI, PIO IDE, along with a basic shell !
CelestialMechanic
Member
Member
Posts: 52
Joined: Mon Oct 11, 2010 11:37 pm
Location: Milwaukee, Wisconsin

Re: When your OS goes crazy - Screenshots

Post by CelestialMechanic »

Stellaris wrote:Some rather interesting results originating from (I assume) a faulty paging implementation, or a bug in my memcpy function :
Very interesting, gallery-worthy images! Good luck, I hope you find the source of the bug.
Microsoft is over if you want it.
User avatar
Stellaris
Posts: 6
Joined: Sun Dec 10, 2017 11:15 am

Re: When your OS goes crazy - Screenshots

Post by Stellaris »

Fixed the bug, it was my physical page allocator that was freeing the wrong pages, thus allowing allocated memory to be corrupted
It's sooo satisfying to find the source of a bug tho ^^
My C++ OS Project : https://github.com/Stellaris-code/LudOS
FAT read support, Tar, VESA, AHCI, PIO IDE, along with a basic shell !
User avatar
MajickTek
Member
Member
Posts: 101
Joined: Sat Dec 17, 2016 6:58 am
Libera.chat IRC: MajickTek
Location: The Internet
Contact:

Re: When your OS goes crazy - Screenshots

Post by MajickTek »

I don't know where else to put this, but the title of the section is fitting.

I can get my OS to compile properly, but I can't boot it in virtualbox and qemu just decided that it doesn't want to work on my system. And I hate bochs.

I don't have screenshots, but I can tell you right now that i tested this.

Ok, so it's not entirely my system, i was going to modify it to my needs. https://github.com/SamyPesse/How-to-Mak ... ing-System

It compiles fine but I can't boot the images.

p.s. move this somewhere if necessary, i don't know where it should go.

EDIT: i might want to use the right system to compile it... time to download vagrant. Sorry for hijacking the thread :oops:
Everyone should know how to program a computer, because it teaches you how to think! -Steve Jobs

Code: Select all

while ( ! ( succeed = try() ) ); 
User avatar
qookie
Member
Member
Posts: 72
Joined: Sun Apr 30, 2017 12:16 pm
Libera.chat IRC: qookie
Location: Poland

Re: When your OS goes crazy - Screenshots

Post by qookie »

After implementing multitasking and adding a small clock in the right top corner, all sorts of weird stuff started happening, like this.
Screenshot_2018-01-01_19-21-41.png
Working on managarm.
User avatar
zesterer
Member
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

Post by zesterer »

Stellaris wrote:Some rather interesting results originating from (I assume) a faultly paging implementation, or a bug in my memcpy function :
That's jazzy as heck. More, please! I want a wallpaper like that.
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
iiSaLMaN
Posts: 1
Joined: Mon Jan 15, 2018 2:19 pm

Re: When your OS goes crazy - Screenshots

Post by iiSaLMaN »

Trying to execute v8086 code moved 0 to endless in physical memory and generated this weird thing:
Image
thumble
Member
Member
Posts: 29
Joined: Thu May 25, 2017 10:41 pm

Re: When your OS goes crazy - Screenshots

Post by thumble »

New 8x8 fonts don't completely work.
Image
MrLolthe1st
Member
Member
Posts: 90
Joined: Sat Sep 24, 2016 12:06 am

Re: When your OS goes crazy - Screenshots

Post by MrLolthe1st »

Image
Assembly optimisations :roll:
thumble
Member
Member
Posts: 29
Joined: Thu May 25, 2017 10:41 pm

Re: When your OS goes crazy - Screenshots

Post by thumble »

Real hardware is different from QEMU, I guess..
Image
itsmevjnk
Member
Member
Posts: 32
Joined: Fri Apr 13, 2018 10:18 am
Location: Melbourne, VIC, Australia

Re: When your OS goes crazy - Screenshots

Post by itsmevjnk »

When my OS tries to show the kernel panic screen while dumping 512 bytes
Attachments
Screenshot from 2018-04-27 14-42-47.png
Just a procrastinating uni student doing stupid things (or not doing them at all)...

SysX: https://github.com/itsmevjnk/sysx.git
rwosdev
Member
Member
Posts: 49
Joined: Thu Apr 26, 2018 11:21 pm

Re: When your OS goes crazy - Screenshots

Post by rwosdev »

Testing a rectangle drawing function I wrote in assembly with different resolutions, not what I was expecting but it's a modern abstractionist masterpiece and I want to tour with it to galleries worldwide, schmoozing & sipping fine wines that taste like anti-freeze if I can get the expenses paid for 8)
Attachments
drawing.jpg
Post Reply