OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 17, 2024 10:25 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Which one is the best?
Poll ended at Sat May 30, 2009 8:37 am
Dex's mouse driver 39%  39%  [ 7 ]
Masterkiller's memory browser 11%  11%  [ 2 ]
Inflater's low level formatter 6%  6%  [ 1 ]
scgtrp's etch-a-sketch 11%  11%  [ 2 ]
salil's port access tool 0%  0%  [ 0 ]
Zenith's music/graphics demo 33%  33%  [ 6 ]
Total votes : 18
Author Message
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon May 25, 2009 8:42 am 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
salil: Crashes in both Bochs and VPC:
Code:
00112411872p[FDD  ] >>PANIC<< write 0x03f5: receiving new command 0x00, old one
(0xe6) pending
00112411872e[FDD  ] io_write: 0x3f5: invalid floppy command 0x00
00128689730e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128703055e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128716380e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128729705e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128743030e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128756355e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128769681e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128783007e[CPU0 ] read_RMW_virtual_word_32(): segment limit violation
00128829255i[CPU0 ] WARNING: HLT instruction with IF=0!

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon May 25, 2009 9:21 am 
Offline
Member
Member
User avatar

Joined: Mon Feb 19, 2007 10:40 am
Posts: 261
Location: India
That is weird. For me it works perfectly fine in both Bochs and Qemu. I don't know about VPC since i don't have it right now. It seems to have written to the port 0x3f5.. Did you do that or it just happened. I am not using that port by default in code. Are you sure you configured bochs correctly?


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon May 25, 2009 9:45 am 
Offline
Member
Member
User avatar

Joined: Sat May 05, 2007 6:20 pm
Posts: 153
salil_bhagurkar wrote:
That is weird. For me it works perfectly fine in both Bochs and Qemu. I don't know about VPC since i don't have it right now. It seems to have written to the port 0x3f5.. Did you do that or it just happened. I am not using that port by default in code. Are you sure you configured bochs correctly?


It works fine, anyway in bochs I was unable to restart neither writing FE to 0064, not writing 01 to 0092, it just stops, but in Virtual PC works fine. Anyway that problem is not part of your program :)

_________________
ALCA OS: Project temporarity suspended!
Current state: real-mode kernel-FS reader...


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon May 25, 2009 9:59 am 
Offline
Member
Member
User avatar

Joined: Mon Feb 19, 2007 10:40 am
Posts: 261
Location: India
Yes, I just tried it in Bochs-2.3.7 and it just freezes. But it works in old versions of Bochs. I guess its about clearing the 8042 buffer or something.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Mon May 25, 2009 4:40 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
salil_bhagurkar wrote:
That is weird. For me it works perfectly fine in both Bochs and Qemu. I don't know about VPC since i don't have it right now. It seems to have written to the port 0x3f5.. Did you do that or it just happened. I am not using that port by default in code. Are you sure you configured bochs correctly?

It doesn't even boot. freezes after a bunch of dots.

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Tue May 26, 2009 8:10 pm 
Offline
Member
Member
User avatar

Joined: Fri May 16, 2008 7:13 pm
Posts: 301
Location: Hanoi, Vietnam
Music demo gives sounds on VM Ware

_________________
"Programmers are tools for converting caffeine into code."


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Tue May 26, 2009 9:47 pm 
Offline
Member
Member
User avatar

Joined: Mon Feb 19, 2007 10:40 am
Posts: 261
Location: India
Whats the prize for being last in the poll? :lol:


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Wed May 27, 2009 3:07 am 
Offline
Member
Member
User avatar

Joined: Sat May 05, 2007 6:20 pm
Posts: 153
Yeah, 10x for that music demo. I just discovered that my internal speaker not working. Anyway MS VPC emulate the sound of internal speaker through the sound card ;) Hm, now I'm looking for a speaker...

BTW scgtrp, you should try to upgrade your etch a sketch with a mouse driver outside of the competition. It'll result a really good program ;)

_________________
ALCA OS: Project temporarity suspended!
Current state: real-mode kernel-FS reader...


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Wed May 27, 2009 10:18 pm 
Offline
Member
Member
User avatar

Joined: Mon Feb 19, 2007 10:40 am
Posts: 261
Location: India
I don't understand how Zenith rolls in the whole song in 512 bytes. Its got the PC speaker frequency information, the tone delay and the graphic colors... How can that fill in to 512 bytes? Or is he compressing?


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 8:20 am 
Offline
Member
Member
User avatar

Joined: Tue Mar 24, 2009 8:11 pm
Posts: 1249
Location: Sunnyvale, California
I don't think compression would save much space regardless of what you're doing. 512 bytes of anything will only compress fractionally, and you also need to add a decompression routine.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:07 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
yes, the rotien would cost more than what it would be worth... I cannot find the source, was it even included?

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: oops
PostPosted: Thu May 28, 2009 4:10 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
oops :oops:

_________________
My hero, is Mel.


Last edited by Coty on Thu May 28, 2009 4:12 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:11 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
I don't think it was... I'll definitely include that as a rule in the next compo.

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:13 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
So i guess how it works will remain a mystery.

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: The Third 512-byte OS Contest!
PostPosted: Thu May 28, 2009 4:15 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 18, 2008 4:40 pm
Posts: 1686
Location: Langley, Vancouver, BC, Canada
Well, one could always decompile the binary, but that would translate stuff incorrectly..

_________________
Image
Image
Solar wrote:
It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.

I wish I could add more tex


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: SemrushBot [Bot] and 334 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