OSDev.org
https://forum.osdev.org/

When your OS goes crazy - Screenshots
https://forum.osdev.org/viewtopic.php?f=1&t=18924
Page 3 of 49

Author:  Barrucadu [ Sun Jan 24, 2010 10:23 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Hi everyone, my first post here :mrgreen:

Font fail (or so I assume… yet to fix it) changing to 90x60 text mode:
Image

Currently my OS is more or less an amalgamation of code from various tutorials, some of which I don't even understand (definitely not happy about that bit), so my plan is to get it all running using tutorials and examples if need be, then read/rewrite big chunks of it until I know why it works :)

Author:  StephanvanSchaik [ Sun Jan 24, 2010 7:16 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

Barrucadu wrote:
Hi everyone, my first post here :mrgreen:

Font fail (or so I assume… yet to fix it) changing to 90x60 text mode:
Image

Currently my OS is more or less an amalgamation of code from various tutorials, some of which I don't even understand (definitely not happy about that bit), so my plan is to get it all running using tutorials and examples if need be, then read/rewrite big chunks of it until I know why it works :)

You're using the 8x16-font instead of the 8x8-font, which is why it got cut off. This might be useful.


Regards,
Stephan J.R. van Schaik.

Author:  assainator [ Mon Jan 25, 2010 4:55 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

I tried some stuff with pixels in real mode. It should have printed just 3 pixels with different colors, but it did a lot more......
Image

Author:  qw [ Mon Jan 25, 2010 5:25 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

assainator wrote:
I tried some stuff with pixels in real mode. It should have printed just 3 pixels with different colors, but it did a lot more......
Image
I think it actually looks quite pretty.

Author:  Barrucadu [ Mon Jan 25, 2010 10:54 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

StephanVanSchaik wrote:
You're using the 8x16-font instead of the 8x8-font, which is why it got cut off. This might be useful.

Thanks, I got it working shortly after doing that post. Also, the line length was wrong—I'd hard-coded it as 80 and forgot to change it when changing modes.

Author:  EmrldDrgn [ Sat Mar 13, 2010 11:16 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

This is a text-mode transcript of an attempt to print the sizes of various data types.

«eOS
A char is assumed to be 8 bA short is is assumed to be 8 bA short is 10000ssume
d to be 8 bA sho0000s 10000ssumed to be 8 bA sh00000s 10000ssumed to be 8 bA s00
0000s 10000ssumed to be 8 bA 0000000s 10000ssumed to be 8 bA bits.
0s 10000ssumed to be 8 bA bits.An int is sumed to be 8 bA bits.An 100000 sumed t
o be 8 bA bits0000000000 sumed to be 8 bA bit00000000000 sumed to be 8 bA bi0000
00000000 sumed to be 8 bA b0000000000000 sumed to be 8 bA 00000000000000 sumed t
o be 8 bA bits.
00000000 sumed to be 8 bA bits.A long is sumed to be 8 bA bits.A l1000000sumed t
o be 8 bA bits.0000000000sumed to be 8 bA bits00000000000sumed to be 8 bA bit000
000000000sumed to be 8 bA bi0000000000000sumed to be 8 bA b00000000000000sumed t
o be 8 bA 000000000000000sumed to be 8 bA bits.
000000000sumed to be 8 bA bits.A long long is to be 8 bA bits.A long l1000000 t
o be 8 bA bits.000000 l1000000 to be 8 bA bits0000000 l1000000 to be 8 bA bit000
00000 l1000000 to be 8 bA bi000000000 l1000000 to be 8 bA b0000000000 l1000000 t
o be 8 bA 00000000000 l1000000 to be 8 bA bits.000000 l1000000 to be 8 b


I fixed the problem (my buffer was being cleared incorrectly), but this was the first time I've had my OS vomit in any kind of visible way. I found it strangely cheering...

Author:  finarfin [ Tue Mar 30, 2010 12:10 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Nothing special,

only a bug in echo, but nice effect :)

Attachments:
File comment: Ech
crazy2.png
crazy2.png [ 27 KiB | Viewed 7206 times ]

Author:  qw [ Tue Mar 30, 2010 1:08 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

And the bug is, if you enter "reverse", it will display all words in reverse order? That doesn't sound like a bug to me :D

Author:  quanganht [ Tue Mar 30, 2010 1:29 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Actually, it copies all the words after "reverse" in the right order, and add "reverse", and copies all words before "reverse" in the reversed order

Author:  js [ Tue Mar 30, 2010 7:28 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

I think it's just that his vararg implementation takes arguments the wrong way round... (was hoping something to do with postfix notation of the "reverse" operator, but I don't think it's that ;) ).

Author:  Love4Boobies [ Tue Mar 30, 2010 7:57 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Not entirely sure what I did but something went very wrong...

Attachments:
rickroll.jpg
rickroll.jpg [ 100.98 KiB | Viewed 7157 times ]

Author:  Steve the Pirate [ Tue Mar 30, 2010 8:07 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Love4Boobies wrote:
Not entirely sure what I did but something went very wrong...


You wouldn't get that from any other guy...

Author:  pcmattman [ Tue Mar 30, 2010 4:49 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

Steve the Pirate wrote:
Love4Boobies wrote:
Not entirely sure what I did but something went very wrong...


You wouldn't get that from any other guy...

He just wants to tell you how he's feeling.

Author:  StephanvanSchaik [ Tue Mar 30, 2010 5:04 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

pcmattman wrote:
Steve the Pirate wrote:
Love4Boobies wrote:
Not entirely sure what I did but something went very wrong...


You wouldn't get that from any other guy...

He just wants to tell you how he's feeling.

He gotta make you understand.


Regards,
Stephan J.R. van Schaik.

Author:  Love4Boobies [ Tue Mar 30, 2010 5:28 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

StephanVanSchaik wrote:
He gotta make you understand.


He never gonna give me up?

Page 3 of 49 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/