Page 3 of 55

Re: When your OS goes crazy - Screenshots

Posted: Sun Jan 24, 2010 10:23 am
by Barrucadu
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 :)

Re: When your OS goes crazy - Screenshots

Posted: Sun Jan 24, 2010 7:16 pm
by StephanvanSchaik
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.

Re: When your OS goes crazy - Screenshots

Posted: Mon Jan 25, 2010 4:55 am
by assainator
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

Re: When your OS goes crazy - Screenshots

Posted: Mon Jan 25, 2010 5:25 am
by qw
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.

Re: When your OS goes crazy - Screenshots

Posted: Mon Jan 25, 2010 10:54 am
by Barrucadu
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.

Re: When your OS goes crazy - Screenshots

Posted: Sat Mar 13, 2010 11:16 pm
by EmrldDrgn
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...

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 12:10 am
by finarfin
Nothing special,

only a bug in echo, but nice effect :)

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 1:08 am
by qw
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

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 1:29 am
by quanganht
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

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 7:28 am
by js
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 ;) ).

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 7:57 am
by Love4Boobies
Not entirely sure what I did but something went very wrong...

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 8:07 am
by Steve the Pirate
Love4Boobies wrote:Not entirely sure what I did but something went very wrong...
You wouldn't get that from any other guy...

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 4:49 pm
by pcmattman
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.

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 5:04 pm
by StephanvanSchaik
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.

Re: When your OS goes crazy - Screenshots

Posted: Tue Mar 30, 2010 5:28 pm
by Love4Boobies
StephanVanSchaik wrote:He gotta make you understand.
He never gonna give me up?