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.
Barrucadu
Posts: 9
Joined: Sun Jan 24, 2010 10:14 am
Location: York, England
Contact:

Re: When your OS goes crazy - Screenshots

Post 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 :)
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: When your OS goes crazy - Screenshots

Post 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.
assainator
Member
Member
Posts: 30
Joined: Sun Jan 24, 2010 1:12 am
Location: The Netherlands

Re: When your OS goes crazy - Screenshots

Post 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
Every human has to do something idiot to prevent becoming a complete one
User avatar
qw
Member
Member
Posts: 792
Joined: Mon Jan 26, 2009 2:48 am

Re: When your OS goes crazy - Screenshots

Post 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.
Barrucadu
Posts: 9
Joined: Sun Jan 24, 2010 10:14 am
Location: York, England
Contact:

Re: When your OS goes crazy - Screenshots

Post 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.
EmrldDrgn
Posts: 2
Joined: Sun Jan 10, 2010 3:23 am

Re: When your OS goes crazy - Screenshots

Post 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...
User avatar
finarfin
Member
Member
Posts: 106
Joined: Fri Feb 23, 2007 1:41 am
Location: Italy & Ireland
Contact:

Re: When your OS goes crazy - Screenshots

Post by finarfin »

Nothing special,

only a bug in echo, but nice effect :)
Attachments
Ech
Ech
Elen síla lúmenn' omentielvo
- DreamOS64 - My latest attempt with osdev: https://github.com/dreamos82/Dreamos64
- Osdev Notes - My notes about osdeving! https://github.com/dreamos82/Osdev-Notes
- My old Os Project: https://github.com/dreamos82/DreamOs
User avatar
qw
Member
Member
Posts: 792
Joined: Mon Jan 26, 2009 2:48 am

Re: When your OS goes crazy - Screenshots

Post 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
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Re: When your OS goes crazy - Screenshots

Post 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
"Programmers are tools for converting caffeine into code."
js
Member
Member
Posts: 38
Joined: Thu Feb 26, 2009 1:45 am

Re: When your OS goes crazy - Screenshots

Post 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 ;) ).
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: When your OS goes crazy - Screenshots

Post by Love4Boobies »

Not entirely sure what I did but something went very wrong...
Attachments
rickroll.jpg
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
Steve the Pirate
Member
Member
Posts: 152
Joined: Fri Dec 15, 2006 7:01 am
Location: Brisbane, Australia
Contact:

Re: When your OS goes crazy - Screenshots

Post 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...
My Site | My Blog
Symmetry - My operating system.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: When your OS goes crazy - Screenshots

Post 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.
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: When your OS goes crazy - Screenshots

Post 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.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: When your OS goes crazy - Screenshots

Post by Love4Boobies »

StephanVanSchaik wrote:He gotta make you understand.
He never gonna give me up?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply