Examples in nasm syntax would be helpful.
(I know I might get critized but here goes)
You can also give me links but don't give me a link to John Fines website. I have gone over Johns PMode and it shows you how to set up the IDT but it doesn't explain it. I would rather like to learn what exactly the IDT is and how I would set it up and use it then to just copy it from him. If I'm stuck I'll ask for help and if nobody can help me then I will look at his code and possibly use it. Your not learning anything from using someone else code!
I've entered pmode, updated the segment registers, set up a stack and now I want to print a message in pmode?
One way is v86 mode but I have looked at it and I realized that I'm not ready to use it yet considering I still need to learn alot more stuff.
Another way is to use the vesa bios but I don't really understand what that is?
Is there another way to print a message in 32-bit mode?
second part of questions?
------------------------------------------------------------------------
Should I set up the IDT table before or after I enter pmode?
How would I use it and what makes up it?
What table would I put the IVT in? How would I set it up and where is it located in the table?
third part of questions?
-----------------------------------------------------------------------
What should I do after entering pmode?
I was going to display a message, set up the IDT, the interrupt handler, multitasking, taskswitching, and then v86 mode.
Any suggestions?
Some questions I need answering?
Re:Some questions I need answering?
If you look on my web site, "setup.asm" has the most primitive example of setting up the IDT. Unfortunately, the sound handling code confuses issues slightly, but if you just ignore it, you shouldn't have any problems. Plus you can ask questions if you want.
There is also no explanation there, but it doesn't really need much if you step through the code. If you've implemented a GDT and followed how it worked, the IDT is very similar.
The reprogramming of the PIC is a bit mysterious. You do this so that the interrupt requests from device and errors don't overlap. You can use the code as is, then go back and understand later.
There are many examples on this forum of writing strings to video memory in pmode.
There is also no explanation there, but it doesn't really need much if you step through the code. If you've implemented a GDT and followed how it worked, the IDT is very similar.
The reprogramming of the PIC is a bit mysterious. You do this so that the interrupt requests from device and errors don't overlap. You can use the code as is, then go back and understand later.
There are many examples on this forum of writing strings to video memory in pmode.