Hello,
I was hoping someone could give me the code for turning off (and back on) the text cursor in protected mode.
I know its possible in real mode using int 10h - ah=01h,
but obviously thats useless for any real operating system.
Thanks!
Simple VGA Question
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Simple VGA Question
it can be done in protected mode by directly accessing VGA hardware registers. (try a g00gle search on "VGA programming")
Re:Simple VGA Question
Hello,
Thanks for the suggestion. I was hoping someone had already written the code for me, but I will work it out.
Tom
Thanks for the suggestion. I was hoping someone had already written the code for me, but I will work it out.
Tom
Re:Simple VGA Question
..
Last edited by Perica on Sun Dec 03, 2006 9:12 pm, edited 1 time in total.
Re:Simple VGA Question
Hello,
I have managed to work it out thanks. It was a simply a single bit to modify. The FreeVGA site is definitely a life saver.
As for borrowing other people's code, the GPL expressly permits that (provided you follow the restrictions), and of course there's other similar licenses. And I would rather spend time on more important stuff than text output. I want the console up and running as quick as possible.
I have managed to work it out thanks. It was a simply a single bit to modify. The FreeVGA site is definitely a life saver.
As for borrowing other people's code, the GPL expressly permits that (provided you follow the restrictions), and of course there's other similar licenses. And I would rather spend time on more important stuff than text output. I want the console up and running as quick as possible.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Simple VGA Question
Absolutely true ... and i would probably have pointed you to a piece of code if i had one ... but not everyone on this forum is pro-GPL, and too many newbies just ask for code on a plate and then complain they don't understand what they get ...tom1000000 wrote: As for borrowing other people's code, the GPL expressly permits that (provided you follow the restrictions), and of course there's other similar licenses. And I would rather spend time on more important stuff than text output. I want the console up and running as quick as possible.