API

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
melgmry0101b
Member
Member
Posts: 109
Joined: Wed Nov 10, 2010 10:49 am

API

Post by melgmry0101b »

Hi everyone, :D
Now I have entered to the user mode.
i can use the keyboard driver in it but i can't use my FDC.
Now if i called my system API i can't use my keyboard driver and my FDC too.
And the bochs debugger gave me this error for the keyboard :
[KBD ] internal keyboard buffer full, ignoring scancode.<24>
Replace <24> with any scancode
and for the FDC i didn't get any error.
And i found when i call the API all interrupts get disabled. :shock:
Can anyone help me to run the keyboard and the FDC and enable the interrupts? :D
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: API

Post by gravaera »

Yo:

I'm confused: how are the Floppy disk controller and the PS/2 controller related? Also, what you want is twofold: you need a VFS for file access on your removal storage medium (floppy) and an input server for managing character and co-ordinate input devices (keyboard/mouse).

--Good luck,
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
melgmry0101b
Member
Member
Posts: 109
Joined: Wed Nov 10, 2010 10:49 am

Re: API

Post by melgmry0101b »

They are not responding also my mouse driver , in other words :
All the interrupts get disabled and i can't get them enabled again with STI or IF bit in EFLAGS.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: API

Post by Combuster »

Ooh, illegible colours!

The (crack) interrupt (lsd) controller (weeds) has (cocaine) a register (beatles) storing (shrooms) enable (addiction) bits (of flour) for (hate) each (dope) interrupt line (the original poster). Try (can't) not to (resist) overwrite (psychedelics) existing (in) bits (posts).
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: API

Post by Love4Boobies »

:lol:
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply