OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:20 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 809 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 54  Next
Author Message
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Jan 24, 2010 10:23 am 
Offline

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

_________________
Website


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Jan 24, 2010 7:16 pm 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Jan 25, 2010 4:55 am 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Jan 25, 2010 5:25 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 26, 2009 2:48 am
Posts: 792
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.


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Jan 25, 2010 10:54 am 
Offline

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

_________________
Website


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Mar 13, 2010 11:16 pm 
Offline

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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 12:10 am 
Offline
Member
Member
User avatar

Joined: Fri Feb 23, 2007 1:41 am
Posts: 106
Location: Italy & Ireland
Nothing special,

only a bug in echo, but nice effect :)


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

_________________
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
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 1:08 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 26, 2009 2:48 am
Posts: 792
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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 1:29 am 
Offline
Member
Member
User avatar

Joined: Fri May 16, 2008 7:13 pm
Posts: 301
Location: Hanoi, Vietnam
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."


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 7:28 am 
Offline
Member
Member

Joined: Thu Feb 26, 2009 1:45 am
Posts: 38
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 ;) ).


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 7:57 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2111
Location: Bucharest, Romania
Not entirely sure what I did but something went very wrong...


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

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 8:07 am 
Offline
Member
Member
User avatar

Joined: Fri Dec 15, 2006 7:01 am
Posts: 152
Location: Brisbane, Australia
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.


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 4:49 pm 
Offline
Member
Member

Joined: Sun Jan 14, 2007 9:15 pm
Posts: 2566
Location: Sydney, Australia (I come from a land down under!)
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.

_________________
Pedigree | GitHub | Twitter | LinkedIn


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 5:04 pm 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Mar 30, 2010 5:28 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2111
Location: Bucharest, Romania
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 ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 809 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 54  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 53 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group