Search found 7 matches
- Tue Apr 22, 2008 11:15 pm
- Forum: Beginning OS Development
- Topic: Keyboard data retrieval
- Replies: 7
- Views: 36312
I read it but something I have done... I gets half way through loading. I have it so that it maps the PIC and then installs the IDT... It gets that far. It hangs with no triple fault. I believe it is my IDT. At the point in time when it goes to load the IDT interrupts are enabled, PIc has been remap...
- Tue Apr 22, 2008 10:13 pm
- Forum: Beginning OS Development
- Topic: Keyboard data retrieval
- Replies: 7
- Views: 36312
must tutorials are for a C kernel. They usually have something like this to reprogram the PICS: #define PIC1 0x20 #define PIC2 0xA0 #define ICW1 0x11 #define ICW4 0x01 /* init_pics() * init the PICs and remap them */ void init_pics(int pic1, int pic2) { /* send ICW1 */ outb(PIC1, ICW1); outb(PIC2, I...
- Tue Apr 22, 2008 8:13 pm
- Forum: Beginning OS Development
- Topic: Keyboard data retrieval
- Replies: 7
- Views: 36312
as for the PIT: I have the IDT (I think) I know I have what is needed to handle the divide by zero exception the thing is I went to try it and no luck. I realised I didn't intialize the PIT :? . After I get that working I will go on to creating the keyboard interupt. for the BOCHS/VIRTUAL PC thing: ...
- Tue Apr 22, 2008 1:56 am
- Forum: Beginning OS Development
- Topic: Keyboard data retrieval
- Replies: 7
- Views: 36312
I've found multiple examples about remaping/reprogramming the PIC for keyboard support along with other devices. (with the added plus of taking care of exceptions if set up properly) The problem is that almost all of these tutorials are for C/C++. My kernel is in Assembly. I found one example for as...
- Mon Apr 21, 2008 1:14 am
- Forum: Beginning OS Development
- Topic: Keyboard data retrieval
- Replies: 7
- Views: 36312
Keyboard data retrieval
I have started on my OS. Right now I am using the tutorials like a bible to creating it though I'm making mine totally in assembly. Anyways I have been trying to get information from the keyboard controller buffer. Primarrily I want it to keep checking the buffer when told to, and to updating someth...
- Sun Apr 20, 2008 1:11 am
- Forum: Beginning OS Development
- Topic: help with VC++
- Replies: 5
- Views: 30212
I'll try tutorial 14 again. If it doesn't work then I'll remove them. EDIT: Indeed removing the /align 512 and the file names did allow it to compile but now I don't know how to use my compiled kernel. Also removing the same thing in tutorial 15 fixed it too. In the folders the closet I get is the K...
- Sat Apr 19, 2008 8:24 pm
- Forum: Beginning OS Development
- Topic: help with VC++
- Replies: 5
- Views: 30212
help with VC++
I started OS development a little bit ago. Your tutorials are GREAT! When stuff in other tutorials didn't make sense your tutorials did. I'm on " Operating Systems Development - Errors, Exceptions, Interruptions " (number 15) and when I go to compile I can't. VC++ExpressEdition says it says "LINK : ...