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 »

Double buffering... Right =D> =D>
Attachments
mrDriver.png
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
jojo
Member
Member
Posts: 138
Joined: Mon Apr 18, 2016 9:50 am
Libera.chat IRC: jojo
Location: New York New York

Re: When your OS goes crazy - Screenshots

Post by jojo »

Oh dear lord, what have you done to my rectangles?
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: When your OS goes crazy - Screenshots

Post by Kazinsal »

Image

I decided that screwing around with the kernel memory allocator is probably a good time to make the kernel memory allocator able to report fatal errors. Fifteen minutes after implementing an error handler, I suddenly learned that it worked...
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 »

Who knows what the hell did octacone done... Anyways you need some math to draw that-like rectangle.
Maybe is Octacone testing his math library?
Techel
Member
Member
Posts: 215
Joined: Fri Jan 30, 2015 4:57 pm
Location: Germany
Contact:

Re: When your OS goes crazy - Screenshots

Post by Techel »

Drawing rectangular axis aligned shapes involves really complex math I think.
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 »

Lukand wrote:Who knows what the hell did octacone done... Anyways you need some math to draw that-like rectangle.
Maybe is Octacone testing his math library?
jojo wrote:Oh dear lord, what have you done to my rectangles?
Nah, not your rectangles, they are all fine (except for the color format).
That is my double buffering implementation, that was not supposed to happen. I really have no idea why is that happening, I did everything as suggested.

Math library? Not dealing with that sh*t. :D (I hate maths)
That was an error produced by my double buffering implementation.
It looks "cool" maybe but that was like pure randomness. (Captured in between frames)
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
jojo
Member
Member
Posts: 138
Joined: Mon Apr 18, 2016 9:50 am
Libera.chat IRC: jojo
Location: New York New York

Re: When your OS goes crazy - Screenshots

Post by jojo »

Haha, no, I assumed as much. Just messing with 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 »

jojo wrote:Haha, no, I assumed as much. Just messing with you.
xD :D
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
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 »

@Octacone YOU DON'T LIKE MATHEMATICS!?
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 »

Everybody knows you're supposed to go through every pixel on the screen and check if ((x - x1) / abs(x - x1) + (x2 - x) / abs(x2 - x) + (y - y1) / abs(y - y1) + (y2 - y) / abs(y2 - y)) * 0.25 - 1 is equal to 0.
Octocontrabass
Member
Member
Posts: 5418
Joined: Mon Mar 25, 2013 7:01 pm

Re: When your OS goes crazy - Screenshots

Post by Octocontrabass »

octacone wrote:(I hate maths)
Now I understand why that mouse pointer math gave you so much trouble. :wink:
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 »

Octocontrabass wrote:
octacone wrote:(I hate maths)
Now I understand why that mouse pointer math gave you so much trouble. :wink:
Exactly! :D :D
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
deleted
Member
Member
Posts: 82
Joined: Mon Jul 21, 2014 7:23 pm

Re: When your OS goes crazy - Screenshots

Post by deleted »

Well, I'm working with VGA text mode, and I found my bug: I was using

Code: Select all

(backColor << 4) | (foreColor * 0x0F)
instead of &ing foreColor.

Maybe next time I'll get it right the first time :

Cheers,
trekos
Attachments
Screenshot 2016-09-09 at 10.12.08 PM.png
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 »

How did you manage to pull off tha--
  • Shift 7 → &
  • Shift 8 → *
...oh
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: When your OS goes crazy - Screenshots

Post by Schol-R-LEA »

In the 'Forum Software Update' thread, I recently mentioned the Discopædia (warning, lots of NSFW language) glossary of, well, insults and terms of abuse cataloged about Discourse (and more recently, NodeBB). It just occurred to me that one of the Discopædia terms might be of use here in describing the failure modes found in these screenshots: 'jellypotato' (warning, more NSFW language).

It originally was a catch-all term for bizarre bugs that no one seems to understand the mechanism of, but came to refer primarily to screen rendering glitches. A typical example found in both DiscoHorse and NoseBBleed is one where scrolling a forum thread causes a sort of wobbling where the page seems to jump past the target point for about half a second, and then back past it in the other direction, possibly doing this several times before settling in a spot that may or may not be the intended one. It is particularly frustrating glitch for both the devs, who can't seem to figure out the cause after a number of attempts to fix it have failed, and the users, because the initial jump lasts just long enough for the user to try and respond to it, but by the time they actually try to correct it, it has moved again.

It has been applied to many other problems, but mostly to things where there is something vaguely spooky or enigmatic about it - the sort of thing which makes you say, "how is that even possible?" Bonus points if it manages to look silly at the same time.

Anyway, it seems that more than a few of the oddities in this thread would be well described by this term. Any thoughts on this?
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
Post Reply