OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Jan 20, 2018 11:10 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Fiwix 0.9.0
PostPosted: Mon Dec 11, 2017 12:10 pm 
Offline
User avatar

Joined: Sat Jun 25, 2016 8:29 am
Posts: 20
Location: Catalonia
Octocontrabass wrote:
It works!

It seems like sometimes one of the shift keys gets stuck, and num lock affects keys that it shouldn't, but the keyboard is usable now.


Hello again,

I've released the new version 0.9.1 which includes improvements in the keyboard driver and, in order to close that issue with your old i386, I'd like to make sure that it no longer gets stuck with this new version.

Just let me know.
Thanks.

_________________
http://www.fiwix.org


Top
 Profile  
 
 Post subject: Re: Fiwix 0.9.0
PostPosted: Wed Dec 13, 2017 12:09 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 1216
This new version takes about an hour to boot on either 386. Nearly all of that time is spent probing for hard disks. You really should do something about that.

As far as the keyboard driver is concerned, the shift keys still occasionally become stuck, and num lock still affects keys that it shouldn't. There seems to be a connection between the two: if num lock is on and I press one of the arrow keys or the insert/delete/home/end/pageup/pagedown keys, shift becomes stuck. Pressing either shift key returns it to normal.


Top
 Profile  
 
 Post subject: Re: Fiwix 0.9.0
PostPosted: Fri Dec 15, 2017 5:01 pm 
Offline
User avatar

Joined: Sat Jun 25, 2016 8:29 am
Posts: 20
Location: Catalonia
Octocontrabass wrote:
This new version takes about an hour to boot on either 386. Nearly all of that time is spent probing for hard disks. You really should do something about that.


Yeah, I think I'll have to differentiate the IDE delay time between different CPUs ... based on the speed (in HZ) for example. I mean, for slow CPUs the IDE delay time should be shorter than with faster CPUs.


Octocontrabass wrote:
As far as the keyboard driver is concerned, the shift keys still occasionally become stuck, and num lock still affects keys that it shouldn't. There seems to be a connection between the two: if num lock is on and I press one of the arrow keys or the insert/delete/home/end/pageup/pagedown keys, shift becomes stuck. Pressing either shift key returns it to normal.


OK, seems like this also need some love.
Thanks a lot for your feedback!
Best regards.

_________________
http://www.fiwix.org


Top
 Profile  
 
 Post subject: Re: Fiwix 0.9.0
PostPosted: Mon Dec 18, 2017 8:53 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 1216
Mikaku wrote:
Yeah, I think I'll have to differentiate the IDE delay time between different CPUs ... based on the speed (in HZ) for example.

You probably want to use something like the PIT to keep track of timeouts. (For example, your driver tells your scheduler it wants to yield until a timeout expires, and the scheduler uses the PIT or some other time source to determine when the timeout expires. For a disk driver, you'll probably also want to cancel the timeout and resume execution immediately if a disk IRQ occurs.)


Top
 Profile  
 
 Post subject: Re: Fiwix 0.9.0
PostPosted: Wed Dec 20, 2017 12:09 pm 
Offline
User avatar

Joined: Sat Jun 25, 2016 8:29 am
Posts: 20
Location: Catalonia
Yeah, this is how it's working (IRQ and PIT to detect timeouts). No, what I meant is about how long must be the loop while waiting the IDE device to be ready before selecting the drive, or before doing a reset, etc. You know, in faster CPUs such loop might need to be a bit longer than in slower CPUs.

In fact, this is already fixed and now my two old 386 are booting in less than 2 minutes.

Thanks anyway.

_________________
http://www.fiwix.org


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 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