OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Feb 25, 2018 7:56 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 701 posts ]  Go to page Previous  1 ... 43, 44, 45, 46, 47
Author Message
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Fri Nov 10, 2017 10:00 pm 
Offline

Joined: Thu May 25, 2017 10:41 pm
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Nov 12, 2017 6:54 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 17, 2016 6:58 am
Posts: 95
Location: The Internet
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:
while ( ! ( succeed = try() ) );


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Nov 20, 2017 8:42 pm 
Offline

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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Dec 11, 2017 2:20 pm 
Offline
User avatar

Joined: Sun Dec 10, 2017 11:15 am
Posts: 6
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 !


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Dec 11, 2017 7:20 pm 
Offline
Member
Member

Joined: Mon Oct 11, 2010 11:37 pm
Posts: 52
Location: Milwaukee, Wisconsin
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.


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Wed Dec 13, 2017 12:11 pm 
Offline
User avatar

Joined: Sun Dec 10, 2017 11:15 am
Posts: 6
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 !


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Dec 23, 2017 7:26 am 
Offline
Member
Member
User avatar

Joined: Sat Dec 17, 2016 6:58 am
Posts: 95
Location: The Internet
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:
while ( ! ( succeed = try() ) );


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Jan 01, 2018 12:32 pm 
Offline

Joined: Sun Apr 30, 2017 12:16 pm
Posts: 13
After implementing multitasking and adding a small clock in the right top corner, all sorts of weird stuff started happening, like this.
Attachment:
Screenshot_2018-01-01_19-21-41.png
Screenshot_2018-01-01_19-21-41.png [ 25.19 KiB | Viewed 957 times ]

_________________
quack, my small operating system project


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jan 06, 2018 3:58 pm 
Offline
Member
Member
User avatar

Joined: Mon Feb 22, 2016 4:40 am
Posts: 57
Location: United Kingdom
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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Jan 23, 2018 11:58 pm 
Offline

Joined: Mon Jan 15, 2018 2:19 pm
Posts: 1
Trying to execute v8086 code moved 0 to endless in physical memory and generated this weird thing:
Image


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Feb 08, 2018 12:04 am 
Offline

Joined: Thu May 25, 2017 10:41 pm
Posts: 16
New 8x8 fonts don't completely work.
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 701 posts ]  Go to page Previous  1 ... 43, 44, 45, 46, 47

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group