Page 1 of 1

API

Posted: Wed Aug 03, 2011 7:26 am
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

Re: API

Posted: Wed Aug 03, 2011 7:28 am
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

Re: API

Posted: Wed Aug 03, 2011 7:36 am
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.

Re: API

Posted: Wed Aug 03, 2011 8:02 am
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).

Re: API

Posted: Wed Aug 03, 2011 8:12 am
by Love4Boobies
:lol: