OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 9:36 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Clicker 0.8.18 : ATA driver is back !
PostPosted: Tue Aug 10, 2004 3:03 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
Finally managed to restore the ancient power of Clicker: reading your disks' MBR to display the partition type tag (plus loading IDELBA driver on demand). That concludes the parenthesis opened with the rewrite of paging support one year ago !

Don't hesitate any longer: get your copy today :P

Hmm, and btw, better keep the floppy away from dad's precious computer, right ? ...

Any feedback is welcome... sources release will follow within a few days.

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Tue Aug 10, 2004 7:15 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
Tested on a

Pentium-S 100 (i think its a P54C)
8mb ram
i430FX chipset
printed 100010001000DEAD

Pentium III-450
192mb ram
i440BX chipset
printed 100010001000DEAD

Tested on QEmu
first go printed 800080008000DEAD.
seemed to think it was booting off a HD and not a floppy.

worked fine second go when i forced it to think it was a floppy.

_________________
-- Stu --


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Wed Aug 11, 2004 1:48 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
hmm ... weird enough ... those codes are bios error codes, iirc. 80h is "timeout (not ready)" and 10h is "uncorrectable CRC or ECC error on read" according to RBIL, so if i were you, i'd toss that floppy away and try with a fresh/confirmed one ...

If it still doesn't work, i'll go back to my sources with humility ...

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Wed Aug 11, 2004 2:35 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
humm.. ok i will try with a different floppy and let you know.

_________________
-- Stu --


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Wed Aug 11, 2004 6:48 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
must have been the floppy. i ran it on the pentium-s 100 and it booted fine. (strange how the image wrote to the 1st disk fine.. ohwell).

seemed to boot up ok and give me all the screens of info.

_________________
-- Stu --


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Thu Aug 12, 2004 9:58 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
tnx. For those who want, the sources are online, together with the tools required to compile them ... A Guide for compiling under linux is there too.

As for the ATA test (on test machines only. Remember, no warranty, cannot be held liable for data loss etc):

1. let the system boot (press <Shift>+<SPACE>, <ESC> and <Shift>+<F4> when requested)
2. call the module manager with <ctrl>+<F5>
3. load testio module
4. when loaded, switch to testio panel with <ctrl>+<F6>
5. run the "readMBR" test case. You should see something like the attached image ...

If testio hangs (when reading or on loading), try shifting to the log with <shift>+<F3> before pressing ENTER

--
http://clicker.sourceforge.net/pixs/c32 ... uccess.png

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Tue Aug 17, 2004 1:59 am 
Played around in virtual pc a bit, loaded some blinkenlights applications (console 01 goes wild! ;).
The mbr test seemed to work. A sector-hex-viewer would be fun.
What I like best is the page-debug-viewer, it's just cool :)
But your apps seem to load slowly sometimes (e.g. I loaded the testio module, but it took about a second or two to show up).

Anyway, good work!


Top
  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Thu Aug 19, 2004 3:08 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
mpp.eox3 wrote:
I loaded the testio module, but it took about a second or two to show up


Yup, that's normal: the 'testio' module need to load the whole I/O subsystem first, which in turns load the available bus drivers which scan your hardware ...

In particular, when the ATA busdriver is loaded, it scans ATA bus for devices, and when no device is present, it may require timeouts to discover no device is there, depending on your controller ...

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Sat Aug 21, 2004 9:16 pm 
Excellent Work!! :)

Tested on

Celeron 633MHz
Chipset Unknown (pre-built system)
224MB RAM

Pentium 4 3.0GHz
i875P Chipset
1GB RAM

Both cases seemed to go perfectly, detecting all installed hard disks, able to run through all info screens, no problems at all.

Cheers.


Top
  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Sun Aug 22, 2004 12:44 am 
Hey pype,

I was looking through your source code (loader.asm) and noticed that the comments suggested something that wasn't the case in the code. Nothing major, in fact may never be a problem but thought I would just let you know anyway.

Quote:
VIRTUALSTACKSIZE???equ 0x0100 ; v86 got a 512bytes stack
REALSTACKSIZE??????equ 0x0100 ; so does the real-mode
EXCEPTSTACKSIZE??????equ 0x0100 ; exception got a 1K stack
SYSTACK?????????equ 0x1000 ; so does kernel


EXCEPTSTACKSIZE is 512 bytes and your comments say that you intend it to be 1024 bytes. ;)

Cheers.


Top
  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Sun Aug 22, 2004 4:55 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

XStream wrote:
EXCEPTSTACKSIZE is 512 bytes and your comments say that you intend it to be 1024 bytes. ;)


You mean all of the sizes aren't consistant :)

VIRTUALSTACKSIZE and REALSTACKSIZE are 256 bytes, not 512. EXCEPTSTACKSIZE is 256 bytes not 1 Kb, and SYSTACK is 4 Kb instead of 1 Kb :)


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Sun Aug 22, 2004 6:27 am 
There you go, I noticed the difference of 0x100 and 0x1000 and took it at face value, never actually thought about the values. Well spotted. :)


Top
  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Mon Aug 23, 2004 3:55 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
mpp.eox3 wrote:
Played around in virtual pc a bit, loaded some blinkenlights applications (console 01 goes wild! ;).
The mbr test seemed to work. A sector-hex-viewer would be fun.
What I like best is the page-debug-viewer, it's just cool :)


Note that if you head to the last page table and use the page-debug-viewer (pressing ENTER over a page), you get a chance to have a sector-hex-view of the MBR :P

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Mon Aug 23, 2004 5:04 am 
Pype.Clicker wrote:
Note that if you head to the last page table and use the page-debug-viewer (pressing ENTER over a page), you get a chance to have a sector-hex-view of the MBR :P


Ah undocumented cheats.. ;)
I will implement some in my kernel too, activated by some good old C=64 style "POKE 12345,242" commands ;P


Top
  
 
 Post subject: Re:Clicker 0.8.18 : ATA driver is back !
PostPosted: Wed Aug 25, 2004 4:54 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
mpp.eox3 wrote:
Ah undocumented cheats.. ;)
I will implement some in my kernel too

Hmm ... I'll consider adding a cheat-sequence that brings you directly to the final boss arena :)

_________________
Image May the source be with you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 6 hours


Who is online

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