Page 1 of 1

..

Posted: Sat Sep 14, 2013 6:34 am
by Bender
..

Re: What's wrong with the MikeOS(GUI Version) Mouse Driver?!

Posted: Sat Sep 14, 2013 10:02 am
by Kortath
Mike took out the mouse code for a reason.

I'm starting to see a pattern in all your posts. In all of your post's your using Mike's OS and his code. Then asking everyone here on this forum to fix it to work your way. Doesn't work like that. Make your own code. Stop cheating and stealing Mike's code and tweaking it to be your own Operating System.

We are willing to help, but only if you put in the work. Study up. Mike's OS is not to give you code for you to tweak. Its there as a representation, or demonstration of what you can do. He made it for people to understand HOW an Operating System works.

From your other posts that is all over this forum, your no where near ready to start integrating a mouse into an OS yet. You have to understand the fundamentals first. I'm not trying to be mean, it's just the reality of your situation. The rules on this forum specify what I am stating here. I am just giving you a reminder of it.

Read the section titled "WHAT THIS IS NOT". It plainly states what your doing wrong here.

http://wiki.osdev.org/Beginner_Mistakes

You seem like a nice person. But come on man, do the work. We can meet you half way if you put in the time like we did.

Re: What's wrong with the MikeOS(GUI Version) Mouse Driver?!

Posted: Sat Sep 14, 2013 1:24 pm
by dozniak
Kortath wrote:You seem like a nice person. But come on man, do the work. We can meet you half way if you put in the time like we did.
My study of Helsinki/Stockholm syndrome progresses very well on this forum.

Re: What's wrong with the MikeOS(GUI Version) Mouse Driver?!

Posted: Sat Sep 14, 2013 1:31 pm
by Kortath
dozniak wrote:
Kortath wrote:You seem like a nice person. But come on man, do the work. We can meet you half way if you put in the time like we did.
My study of Helsinki/Stockholm syndrome progresses very well on this forum.
Hmmm... traumatic bonding. Interesting.

Re: What's wrong with the MikeOS(GUI Version) Mouse Driver?!

Posted: Sat Sep 14, 2013 4:51 pm
by gerryg400
sid123, I had a quick look at the code you posted. My personal opinion is that it's not worth trying to fix that code. There are a couple of routines that might be functional, however the code is not robust enough to work on most machines.

My advice is to study the wiki and also this website http://www.computer-engineering.org and start over.

Re: What's wrong with the MikeOS(GUI Version) Mouse Driver?!

Posted: Sat Sep 14, 2013 5:46 pm
by Kortath
gerryg400 wrote:sid123, I had a quick look at the code you posted. My personal opinion is that it's not worth trying to fix that code. There are a couple of routines that might be functional, however the code is not robust enough to work on most machines.

My advice is to study the wiki and also this website http://www.computer-engineering.org and start over.

That is a wonderful link. I been there a couple times. It doesn't show how to use a USB mouse though ( Unless I just missed it somehow ). And from the USB information I have read, its a lot harder to setup then one would have expected. Drivers upon layers of drivers. I tried to setup a mouse interface on any of my home computers.. but they are all USB. Uhgg. I knew I should have kept my old ball mouse.. it had a PS/2 interface.

EDIT UPDATE : Yea I just read this statement on that site : "If you want to interface a serial or USB mouse, there's plenty of information available elsewhere on the web."

And I have looked. The information is not everywhere as that site claims. Lots of the links I would click on didn't work. Information people had, is "missing". So that statement doesn't hold true. It would be nice to see someone explain in detail how to setup a USB mouse. That is one key thing that seems to be the biggest problem in OS design now days. USB interfacing. I'm not asking for code per say, i'm asking for someone to explain in detail how to interface with a USB Mouse. From what I am understanding, because its USB and needs a working Kernel, if you don't have a running kernel that handles memory management and hardware interfacing correctly, the USB Mouse should not not even be considered yet.

EDIT UPDATE 2 : I thought I would share something I did find. http://www.pjrc.com/teensy/usb_mouse.html

And here is another source for the USB mouse. It's not much, but it shows some interesting info about the USB.
http://read.pudn.com/downloads141/doc/6 ... fs.h__.htm
http://read.pudn.com/downloads141/doc/6 ... sc.h__.htm
http://read.pudn.com/downloads141/doc/6 ... os.h__.htm
http://read.pudn.com/downloads141/doc/6 ... ip.h__.htm


Something else I found : http://read.pudn.com/downloads157/ebook ... b-core.pdf
It's in a language I can't understand, but the source code is in the PDF. So I thought I would share it and if it helps someone, why not share it.

Re: What's wrong with the MikeOS(GUI Version) Mouse Driver?!

Posted: Sun Sep 15, 2013 8:08 am
by Bender
Thanks for the suggestions!!!!!
I thought to stop working on this and implement my own OS.
MikeOS is pretty good, but you see not worth what I am looking for... [-X