Search found 14 matches
- Mon Mar 16, 2009 6:21 am
- Forum: Beginning OS Development
- Topic: Interrupt 13: General Protection Fault
- Replies: 1
- Views: 13310
Interrupt 13: General Protection Fault
Hello I downloaded the tutorial on software interrupts. I made an interrupt handler myself, and used it, I also made the default interrupt handler return using the iretd instruction. But the default interrupt handler was called again and again. If I put an infinite loop in the default handler then i...
- Mon Mar 16, 2009 5:41 am
- Forum: Beginning OS Development
- Topic: Build, rebuild problem
- Replies: 3
- Views: 20537
- Sun Mar 15, 2009 7:56 am
- Forum: Beginning OS Development
- Topic: Operating system fails?
- Replies: 11
- Views: 51440
I am also new to this OS thing, but here are my thoughts: 1) Maybe some key on your keyboard itself is pressed, which is generating an interrupt 2) Maybe the hardware is different than in the emulated environment, so it is generating some interrupt, not generated in emulators. Here are two ways I th...
- Sat Mar 14, 2009 1:29 pm
- Forum: Beginning OS Development
- Topic: Build, rebuild problem
- Replies: 3
- Views: 20537
Build, rebuild problem
Hello I am having some problems. I downloaded the demo from the tutorial on software interrupts, I built it and it worked. When I rebuild it, it gives an error that _aullshr is an unresolved external symbol. If I edit it and just build it, no changes happen, so I guess I will have to rebuild it. I u...
- Mon Dec 15, 2008 1:13 pm
- Forum: Beginning OS Development
- Topic: Simple Kernel
- Replies: 7
- Views: 37224
Kernel plan
I have planned what I want my kernel to do. I want it to provide a high level and fast programming environment in assembly(by the way of interrupts). The interface would be command-line.
What I wish to do is to control real-time systems efficiently
What I wish to do is to control real-time systems efficiently
- Fri Dec 12, 2008 10:13 am
- Forum: Beginning OS Development
- Topic: Simple Kernel
- Replies: 7
- Views: 37224
- Wed Nov 19, 2008 10:34 am
- Forum: Beginning OS Development
- Topic: Demo problem
- Replies: 8
- Views: 38187
leaving C, continuing with asm
Sorry, I could not get JLOC to work for me, so I am developing the kernel in asm completely, (unless something causes me to change my mind), if you want, I can mail you any developments that I have made (currently working on keyboard). You did give me a start in writing the bootloader, I would never...
- Tue Nov 18, 2008 11:40 am
- Forum: Beginning OS Development
- Topic: Simple Kernel
- Replies: 7
- Views: 37224
Assembly Keyboard routine
Hey, I am writing a kernel in asm completely. And I just wrote the keyboard routine yesterday, here it is: Note: The acsii table (scan) is not complete, please coomplete it for all keys, it has all letters, nos. and enter etc. keyPress: WaitLoop: in al, 64h ;Check if input is ready and al, 1 jz Wait...
- Fri Nov 14, 2008 11:08 am
- Forum: Beginning OS Development
- Topic: Demo problem
- Replies: 8
- Views: 38187
Is it possible for the system to crash if I enable interrups and yet bochs does not warn me of it. I will try to trace the interrut thingie, also I am trying to use JLoc to make a binary file by combining C and assembly object files, I will give the details if I succeed including the linker script. ...
- Thu Nov 06, 2008 9:27 am
- Forum: Beginning OS Development
- Topic: Demo problem
- Replies: 8
- Views: 38187
- Tue Nov 04, 2008 9:39 am
- Forum: Beginning OS Development
- Topic: Demo problem
- Replies: 8
- Views: 38187
I mean the tutorial in which printf function is developed. And the green color does not change whatever argument I pass, I can see the message "searching for os..." before the screen turns green. And it is due to the c program, as if I remove the program, or do not set its settings, then it does not...
- Sun Nov 02, 2008 12:01 pm
- Forum: Beginning OS Development
- Topic: Demo problem
- Replies: 8
- Views: 38187
Demo problem
I downloaded the demo of tutorial 7, got the settings right (hopefully), and compiled it. I ran the OS with bochs emulator(windows). The screen turned green (due to clrscr(int c) I think). Then nothing happened. Even the cursor did not move. When I changed the color in clrscr(int c); function, still...
- Tue Oct 21, 2008 3:06 pm
- Forum: Beginning OS Development
- Topic: Building the kernel
- Replies: 1
- Views: 13320
Building the kernel
Hello, I am following this tutorial, I downloaded the 6th tutorial, and copied it some here, some there etc. Can anyone help me on how to actually build it and create the KRNL32.EXE file PS: in the entry file, how does it know from which file to load the main from? in extern main Is it all right if ...
- Thu Oct 16, 2008 7:02 am
- Forum: Beginning OS Development
- Topic: Keyboard problem
- Replies: 1
- Views: 12958
Keyboard problem
I converted to 32bit using the tutorial, (copied exactly, then I wanted to do something on my own, so I decided to make the OS print whatever was typed in the keyboard. This is the code that I used: keyPress: WaitLoop: in al, 64h and al, 10b jz WaitLoop in al, 60h mov bl,al call Putch32 jmp keyPress...