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
Ycep
Member
Member
Posts: 401
Joined: Mon Dec 28, 2015 11:11 am

Re: When your OS goes crazy - Screenshots

Post by Ycep »

Sik wrote:How did you manage to pull off tha--
  • Shift 7 → &
  • Shift 8 → *
...oh
Very simple.

Code: Select all

getch()
{
 [...]
 if(ShiftPressed)
  return shiftkey[scancode];
 else
  return normalkey[scancode];
 [...]
}
User avatar
matt11235
Member
Member
Posts: 286
Joined: Tue Aug 02, 2016 1:52 pm
Location: East Riding of Yorkshire, UK

Re: When your OS goes crazy - Screenshots

Post by matt11235 »

Lukand wrote:
Sik wrote:How did you manage to pull off tha--
  • Shift 7 → &
  • Shift 8 → *
...oh
Very simple.

Code: Select all

getch()
{
 [...]
 if(ShiftPressed)
  return shiftkey[scancode];
 else
  return normalkey[scancode];
 [...]
}
I think you misunderstood his message.

deleted typed * instead of &, Sik wondered how he managed to do that until he realized that they're next to each other on the keyboard.
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum
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 »

Strange bug with TrueType :lol:
Attachments
Screenshot_20160918_134657.png
Screenshot_20160918_134657.png (10.53 KiB) Viewed 5507 times
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
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

Re: When your OS goes crazy - Screenshots

Post by BrightLight »

Moved the mouse while the OS was still drawing the window, making it draw an unfinished (and corrupt) back buffer to the display.
Image
You know your OS is advanced when you stop using the Intel programming guide as a reference.
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 »

Offtop:
I don't see the image. Who sees 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
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: When your OS goes crazy - Screenshots

Post by Octacone »

catnikita255 wrote:Offtop:
I don't see the image. Who sees it?
same I can't see it



omarrx024(your last image)
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

Re: When your OS goes crazy - Screenshots

Post by BrightLight »

You know your OS is advanced when you stop using the Intel programming guide as a reference.
User avatar
Ycep
Member
Member
Posts: 401
Joined: Mon Dec 28, 2015 11:11 am

Re: When your OS goes crazy - Screenshots

Post by Ycep »

Strange image.
I usually do not post there (I posted only once, and never again) there. You would be suprised when you could see how my OS looks like (negative) in this 30% done-developement stages...
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

Re: When your OS goes crazy - Screenshots

Post by BrightLight »

Lukand wrote:Strange image.
It is. It happened because a bug in my window creation function, in which IRQs are allowed to happen. So when the mouse is moved, the OS uses XMM registers to redraw the screen (an SSE memcpy really.) Yet, the graphics code is using the same XMM registers for alpha blending, thus corrupting the state and making weird colors. I should add SIMD context saving to my IRQ handler.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: When your OS goes crazy - Screenshots

Post by Brendan »

Hi,
omarrx024 wrote:
Lukand wrote:Strange image.
It is. It happened because a bug in my window creation function, in which IRQs are allowed to happen. So when the mouse is moved, the OS uses XMM registers to redraw the screen (an SSE memcpy really.) Yet, the graphics code is using the same XMM registers for alpha blending, thus corrupting the state and making weird colors. I should add SIMD context saving to my IRQ handler.
That's 2 bugs - using SSE within an IRQ handler (for any reason); and touching one device's stuff (video) from a completely unrelated device driver (mouse).


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
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 »

Green starfield. Hello to GlauxOS!
Attachments
Screenshot_20160921_151634.png
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
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: When your OS goes crazy - Screenshots

Post by SpyderTL »

catnikita255 wrote:Green starfield. Hello to GlauxOS!
I will be genuinly impressed if you tell me that the system is in text mode when this happens. :)
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
osdever
Member
Member
Posts: 492
Joined: Fri Apr 03, 2015 9:41 am
Contact:

Re: When your OS goes crazy - Screenshots

Post by osdever »

No, it's 1024x768x32.
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
Sik
Member
Member
Posts: 251
Joined: Wed Aug 17, 2016 4:55 am

Re: When your OS goes crazy - Screenshots

Post by Sik »

On the flipside, once on Windows 98 I got a S3 driver to glitch when switching video modes and I ended up with text mode with an arrow in the middle (and a column of glitch pixels to go along, while we're at it), so it's not exactly an impossible feat.
Last edited by Sik on Fri Sep 23, 2016 11:36 pm, edited 1 time in total.
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 »

Wow! :shock:
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.
Post Reply