Search found 387 matches
- Sat Apr 30, 2011 3:10 pm
- Forum: Beginning OS Development
- Topic: How do you displaying Unicode characters?
- Replies: 1
- Views: 8067
Re: How do you displaying Unicode characters?
No - You have to switch into a pixel mode and draw/display the glyphs yourself.
- Tue Mar 29, 2011 12:14 am
- Forum: Beginning OS Development
- Topic: How to detect processor string and speed?
- Replies: 3
- Views: 12693
Re: How to detect processor string and speed?
What are you on about? halofreak1990 posted a link to wikipedia which explains, with code example, exactly how to do what you want.Could you please post some kind of code explaining exactly what do you mean?
~Andrew
- Sat Mar 26, 2011 10:27 am
- Forum: Advanced OS Development
- Topic: How to create Own File System ?
- Replies: 13
- Views: 70277
Re: How to create Own File System ?
Of course - Take a look at the linux distros - they have open source drivers for all operating systems. As a start, try FAT as it is common across all other operating systems today, and is the most simple to implement.
~Andrew
~Andrew
- Tue Mar 22, 2011 12:17 pm
- Forum: Advanced OS Development
- Topic: How to create Own File System ?
- Replies: 13
- Views: 70277
Re: How to create Own File System ?
There are no tutorials on the topic because the people who actually make usable filesystems dont write tutorials on the subject. Tutorials about implementing filesystems exist because other people what to use the filesystem and decide that a tutorial was needed. Same rule still applies - "If you hav...
- Sun Mar 13, 2011 9:15 pm
- Forum: Beginning OS Development
- Topic: General Protection Fault on Demo 23
- Replies: 1
- Views: 8108
Re: General Protection Fault on Demo 23
If iretd is causing the fault, then it probably means that you are trashing your stack in the ISR itself. Double check that you havnt got a mismatched push/pop instruction.
~Andrew
~Andrew
- Mon Mar 07, 2011 7:37 pm
- Forum: General Programming
- Topic: Kernel trouble
- Replies: 19
- Views: 105998
Re: Kernel trouble
I think what might help is if you identify which exception is happening. That will give a clue as to the problem. They way I debugged this when it was happening to me was to assign each exception handler a character on a red background that it would print as soon as the exception was started. ~Andrew
- Thu Mar 03, 2011 1:12 am
- Forum: General Programming
- Topic: Kernel trouble
- Replies: 19
- Views: 105998
Re: Kernel trouble
Very sorry - I meant to say that your IDT was set up incorrectly. The physical entry in the IDT contains (amongst other flags) a CS:EIP pair so that whenever/whereever an interrupt occurs, the processor knows where to jump to service the interrupt. The vast majority of the times you recieve an inter...
- Wed Mar 02, 2011 7:20 pm
- Forum: General Programming
- Topic: Kernel trouble
- Replies: 19
- Views: 105998
Re: Kernel trouble
That means that you have your IDT correctly.
You have an invalid segment set as the target code segment. It should be 0x08 which is your ring0 code segment.
~Andrew
You have an invalid segment set as the target code segment. It should be 0x08 which is your ring0 code segment.
~Andrew
- Mon Feb 28, 2011 7:23 pm
- Forum: General Programming
- Topic: Kernel trouble
- Replies: 19
- Views: 105998
Re: Kernel trouble
If you are in an exception handler, then that means that you are not cleaning the stack up correctly and attempting to iretd junk off the stack.
I think your solution will be to fix whichever interrupt is being serviced when the kernel_panic is issued.
~Andrew
I think your solution will be to fix whichever interrupt is being serviced when the kernel_panic is issued.
~Andrew
- Fri Feb 18, 2011 8:27 pm
- Forum: Beginners
- Topic: confusion on multiple initialization of GDT
- Replies: 3
- Views: 36758
Re: confusion on multiple initialization of GDT
You also have to consider this: What if you use GRUB instead of your own bootloader? How are you certain that it has been set up as you want it? The answer is that you are not, so the solution is to set one up yourself. In the grand scheme of booting, it is a trivial overhead, and offers the flexibi...
- Tue Feb 08, 2011 6:55 pm
- Forum: Beginning OS Development
- Topic: Problem with bootloader
- Replies: 8
- Views: 21218
Re: Problem with bootloader
That completely depends on your definition of 'problem'
What it is not doing which you think it should be doing?
~Andrew
What it is not doing which you think it should be doing?
~Andrew
- Wed Feb 02, 2011 6:50 pm
- Forum: Site Comments, Suggestions, and Ideas
- Topic: Annoying Advertisements
- Replies: 2
- Views: 33347
Re: Annoying Advertisements
They are usually robots.
And the mods (well, mod) tends to see past all that when he (me) logs on
There are one or two which I am not certain enough to delete, but I recon I have taken out 700odd spam posts in my time as mod.
~andrew
And the mods (well, mod) tends to see past all that when he (me) logs on
There are one or two which I am not certain enough to delete, but I recon I have taken out 700odd spam posts in my time as mod.
~andrew
- Wed Feb 02, 2011 6:45 pm
- Forum: C and C++
- Topic: What is a “RTTI”?
- Replies: 2
- Views: 33877
Re: What is a “RTTI”?
Run Time Type Identification. It is extra metadata put into each class definiton which contains the name of that class in the source code (amongst other things). Personally, I dont find it too useful. It is designed for a base class to be able to interigate a pointer it has, and work out which subcl...
- Wed Feb 02, 2011 6:41 pm
- Forum: Beginning OS Development
- Topic: Find all stage2 clusters
- Replies: 3
- Views: 11146
Re: Find all stage2 clusters
The FAT is a table pointing to the next cluster. An overview is like this: Read the root directory, find a file which has a pointer to the first cluster. Load the referenced cluster Look up the entry for that cluster in the FAT. This is either EOF or the next cluster in the file. Loop until EOF The ...
- Fri Jan 28, 2011 1:06 am
- Forum: Advanced OS Development
- Topic: How to create Own File System ?
- Replies: 13
- Views: 70277
Re: How to create Own File System ?
To quote a tutorial I once read (ages ago): "Don't be under the illusion that you can write your own filesystem. At the very best, you will end up with a buggy, bloated system which resembles FAT". It also came with a subclause stating that the people who were actually in a position to write a good ...