When your OS goes crazy - Screenshots
Re: When your OS goes crazy - Screenshots
Hi everyone, my first post here
Font fail (or so I assume… yet to fix it) changing to 90x60 text mode:
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
Font fail (or so I assume… yet to fix it) changing to 90x60 text mode:
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
-
- Member
- Posts: 127
- Joined: Sat Sep 29, 2007 5:43 pm
- Location: Amsterdam, The Netherlands
Re: When your OS goes crazy - Screenshots
You're using the 8x16-font instead of the 8x8-font, which is why it got cut off. This might be useful.Barrucadu wrote:Hi everyone, my first post here
Font fail (or so I assume… yet to fix it) changing to 90x60 text mode:
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
Regards,
Stephan J.R. van Schaik.
-
- Member
- Posts: 30
- Joined: Sun Jan 24, 2010 1:12 am
- Location: The Netherlands
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......
Every human has to do something idiot to prevent becoming a complete one
Re: When your OS goes crazy - Screenshots
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.StephanVanSchaik wrote:You're using the 8x16-font instead of the 8x8-font, which is why it got cut off. This might be useful.
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...
«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
Nothing special,
only a bug in echo, but nice effect
only a bug in echo, but nice effect
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
- 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
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
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
"Programmers are tools for converting caffeine into code."
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 ).
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: When your OS goes crazy - Screenshots
Not entirely sure what I did but something went very wrong...
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Steve the Pirate
- Member
- Posts: 152
- Joined: Fri Dec 15, 2006 7:01 am
- Location: Brisbane, Australia
- Contact:
Re: When your OS goes crazy - Screenshots
You wouldn't get that from any other guy...Love4Boobies wrote:Not entirely sure what I did but something went very wrong...
-
- 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
He just wants to tell you how he's feeling.Steve the Pirate wrote:You wouldn't get that from any other guy...Love4Boobies wrote:Not entirely sure what I did but something went very wrong...
-
- Member
- Posts: 127
- Joined: Sat Sep 29, 2007 5:43 pm
- Location: Amsterdam, The Netherlands
Re: When your OS goes crazy - Screenshots
He gotta make you understand.pcmattman wrote:He just wants to tell you how he's feeling.Steve the Pirate wrote:You wouldn't get that from any other guy...Love4Boobies wrote:Not entirely sure what I did but something went very wrong...
Regards,
Stephan J.R. van Schaik.
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: When your OS goes crazy - Screenshots
He never gonna give me up?StephanVanSchaik wrote:He gotta make you understand.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]