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.
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: When your OS goes crazy - Screenshots

Post by Octacone »

This is what happens when I want to do anything GUI related.
Attachments
AwfulBug.png
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
NunoLava1998
Member
Member
Posts: 273
Joined: Sun Oct 09, 2016 4:38 am
Libera.chat IRC: NunoLava1998

Re: When your OS goes crazy - Screenshots

Post by NunoLava1998 »

octacone wrote:This is what happens when I want to do anything GUI related.
Read a bit more of your books and the wiki and you should be able to get it working.
Developing TRIODIUM OS. Or call it Dixium if you want. It doesn't matter.

https://github.com/NunoLava1998/DixiumOS
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: When your OS goes crazy - Screenshots

Post by Octacone »

NunoLava1998 wrote:
octacone wrote:This is what happens when I want to do anything GUI related.
Read a bit more of your books and the wiki and you should be able to get it working.
alexfru wrote: Perhaps, you should follow your own advice?:
NunoLava1998 wrote: Read a bit more of your books and the wiki and you should be able to get it working.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
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 »

I think it's fair to say I have issues with kernel multi-tasking. Specifically, garbage code execution. Hmmm.
Screenshot_2017-01-16_19-31-14.png
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: When your OS goes crazy - Screenshots

Post by SpyderTL »

zesterer wrote:I think it's fair to say I have issues with kernel multi-tasking. Specifically, garbage code execution. Hmmm.
Screenshot_2017-01-16_19-31-14.png
Ahh, my old nemesis.... Three lines and an "S".

You probably already know this, but just in case you don't, that's what you get when you dump a null pointer to the screen as ASCII. So I'm going to guess that you're passing a null to your PrintString function...
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
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 »

SpyderTL wrote:
zesterer wrote:I think it's fair to say I have issues with kernel multi-tasking. Specifically, garbage code execution. Hmmm.
Screenshot_2017-01-16_19-31-14.png
Ahh, my old nemesis.... Three lines and an "S".

You probably already know this, but just in case you don't, that's what you get when you dump a null pointer to the screen as ASCII. So I'm going to guess that you're passing a null to your PrintString function...
Oh really? Interesting. I have no idea what causes it. After that screenshot, the kernel crashes with an invalid instruction.
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
User avatar
osdever
Member
Member
Posts: 492
Joined: Fri Apr 03, 2015 9:41 am
Contact:

Re: When your OS goes crazy - Screenshots

Post by osdever »

octacone wrote:This is what happens when I want to do anything GUI related.
This is why I wrote about Surface. You can easily make a GUI with it :)
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing

OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.
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 want to see this "Surface"! Sounds interesting.
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
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 »

Nevermind! I found it on gitlab.
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
Agola
Member
Member
Posts: 155
Joined: Sun Nov 20, 2016 7:26 am
Location: Somewhere

Re: When your OS goes crazy - Screenshots

Post by Agola »

Multitasking screwed something up :shock:

Image
Keyboard not found!

Press F1 to run setup.
Press F2 to continue.
onlyonemac
Member
Member
Posts: 1146
Joined: Sat Mar 01, 2014 2:59 pm

Re: When your OS goes crazy - Screenshots

Post by onlyonemac »

zesterer wrote:I think it's fair to say I have issues with kernel multi-tasking. Specifically, garbage code execution. Hmmm.
Garbage code execution? Is that a thing?
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
MDenham
Member
Member
Posts: 62
Joined: Sat Nov 10, 2012 1:16 pm

Re: When your OS goes crazy - Screenshots

Post by MDenham »

onlyonemac wrote:
zesterer wrote:I think it's fair to say I have issues with kernel multi-tasking. Specifically, garbage code execution. Hmmm.
Garbage code execution? Is that a thing?
Yep, otherwise colloquially known as "jumping to hyperspace" at times. It's less likely to happen if you're writing a 64-bit or 32-bit-plus-PAE OS (the NX bit covers most situations, as pretty much nobody here is producing something that has enough of a user base to make it worthwhile for attacks to require an ASLR implementation as well), but that's not going to prevent you from accidentally jumping to existing code at an inopportune time. :)
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 »

Screenshot_2017-02-01_00-55-17.png
Screenshot_2017-02-01_00-55-17.png (10.48 KiB) Viewed 5314 times
Giving VBE graphics a go. I'm writing a PSF font to the screen, but something's up with my alpha blending :D
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
User avatar
dozniak
Member
Member
Posts: 723
Joined: Thu Jul 12, 2012 7:29 am
Location: Tallinn, Estonia

Re: When your OS goes crazy - Screenshots

Post by dozniak »

zesterer wrote: I'm writing a PSF font to the screen, but something's up with my alpha blending :D
Looks very Hotline Miami-sh!
Learn to read.
robbiedobbie
Member
Member
Posts: 36
Joined: Fri May 16, 2014 2:40 pm
Libera.chat IRC: robbiedobbie

Re: When your OS goes crazy - Screenshots

Post by robbiedobbie »

Image

I was working on getting my VGA logging to scroll faster (By finally using a backbuffer...).

I guess I have my offsets wrong somewhere...

PS: This is actually the weirdest of rendering artifacts I have yet encountered on my os. Never had those flashy full screen corruptions...
Post Reply