Int 10h, but in protected mode?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
AvengerX

Int 10h, but in protected mode?

Post by AvengerX »

[shadow=red,left,300]Alright, [/shadow] i am trying to change the console font to a certain font (stored in a variable), and i am in Pmode, (no multitasking so i cannot have a v86 mode task, yet) how would i go about this? thanks in advance.
Chris Giese

Re:Int 10h, but in protected mode?

Post by Chris Giese »

Look at functions

Code: Select all

write_font()
and vmemwr() in http://my.execpc.com/~geezer/osd/graphics/modes.c
Also the _vmemwr() macro, which must be re-written for your OS.

Now do me a favor :)
Download http://my.execpc.com/CE/AC/geezer/temp/bug.zip and unzip it. In plain DOS or a full-screen DOS box, run 90x30.com, which should put the screen in 90x30 text mode. Now run test.exe. Let me know if the blue-on-black text has a horizontal line through it.

I don't know if the problem is with my code or with my video board.
AvengerX

Re:Int 10h, but in protected mode?

Post by AvengerX »

thank you, and yes, both blue on black and light blue on black have a line through them.
Post Reply