Keyboard drivers

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
[full]root
Posts: 4
Joined: Sat Mar 24, 2007 1:54 am

Keyboard drivers

Post by [full]root »

i got proble with kbd drivers:

Code: Select all

// main.c

...
unsigned char key;
...

for(;;) {
key=getkey();
if(key!=0) {
putch(key);
key=0;
i=0; 
while(i<200000) i++;
}
}
...

Code: Select all

// keyboard/driver.c
..
unsigned char getkey() {
unsigned char ret;
ret = in (0x60); // in from ports.c, must work right
return ret;
}
..
/------------------------/
http://yourass.sf.net
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

I would recommend stop it. Trolling, please not?
[full]root
Posts: 4
Joined: Sat Mar 24, 2007 1:54 am

Post by [full]root »

~ wrote:I would recommend stop it. Trolling, please not?
What do you mean? What is trolling?
/------------------------/
http://yourass.sf.net
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

[full]root wrote:
~ wrote:I would recommend stop it. Trolling, please not?
What do you mean? What is trolling?
A prescription, anti-anxiety medication. Activism against.
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

I think you need to learn about indentation
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

What's going on? He's not a bot.....He's not trolling....he's asking a question....I'm somewhat confused by this whole thread, and his previous one.....He even has a sourceforge page......Why are we accusing him of trolling and spamming? Did I miss something?
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

What in the world is the missing posts on this thread about from inflater and ~?

http://www.osdev.org/phpBB2/viewtopic.p ... ght=#91806
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

I would like to clarify that this user seems very suspicious and with a project with a name that could never be of the preference of general public and likely insulting. Seems to be a great programmer by its name, but its kernel is far too basic (basic memory copying and a message, no peripherals at all, again seems non serious by its name and characteristics) and perfectly "cleaned up", and has never been downloaded. And this "keyboard driver" not even is part of its sources (not really a driver). That contradicts too much. An advanced user not knowing what is trolling?

It would have turned into help being otherwise.

These are the missing posts (please don't lose your time reading):
Sure bet, I didn't want to make too much noise for that at once to keep the place peaceful. Now it's clear how things are :)

This "OS" thing has never been downloaded (a big hint, and I was first one for checking what it was about).

:x Nothing you don't already know; besides, that name is for having fun on us... something with no relevance to stare at.
Reasonably such a project could never take off and would be worthless for people.

We better stay away from that suspicious "user" until it shows an active intelligence proper of an OS programmer (look how it invariably answers to brief text and replies with brief text).

Let's be nice and stop it, or we risk feeding what we shouldn't. If you be nice and delete your posts I will be nice and delete my posts here :P.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Sourceforge approved that project name? :lol:

That's kinda funny :)
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

Oh..okay....that makes sense....so you think it's somebody who's personally spamming the board because he has nothing better to do? But who would take the time to actually register a sourceforge page just for that? It's not as if he could go from osdev board to osdev board spamming using it, because this is the only one in existence that's very active. (Not counting usenet.) Also, there's some code there....that would require a little work....Hmm...something doesn't add up though...Please explain yourself [full]root.
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Post by mystran »

Typically a troll like this would be a former forum user who got into disagreements with other regulars, got told to behave or be gone, and who then decided the place can go to hell. Some time later, wants to get some attention, probably because of missing the forum...

I'd even go to say that most trolls only ever target one or few forums...
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
GLneo
Member
Member
Posts: 237
Joined: Wed Dec 20, 2006 7:56 pm

Post by GLneo »

i'm still confused, if he was angry or something he would just yell and such, but he posted code and set up profile with a sig, etc...

p.s. yourass.sf.net is taken but yomoma.sf.net is open :D
pcmattman
Member
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:

Post by pcmattman »

Alboin wrote:What's going on? He's not a bot.....He's not trolling....he's asking a question....I'm somewhat confused by this whole thread, and his previous one.....He even has a sourceforge page......Why are we accusing him of trolling and spamming? Did I miss something?
You know, if this guy is actually sincere he may be having a real problem with his OS. The last time something like this happened I was the one that scared him off, and I don't want to see people scared away from such a great community.

Maybe we should show a little hospitality towards our new members and stop having kneejerk reactions to what we think may possibly be spam or something worse.
Post Reply