How to switch to VGA Graphics mode without BIOS interrupts?

Discussion in 'Operating System' started by schwin, Feb 14, 2009.

  1. schwin

    schwin New Member

    Joined:
    Feb 14, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi !

    I am working on development of an TOS that runs in Protected Mode. I am required to switch it from text mode to graphics mode. Everywhere I google I get only one solution set AX to 0013h and call INT 10 and easily the VGA Graphics Mode is set.

    DUH!

    I am working in protected mode and hence cannot use INT 10.

    Can someone please guide me? I came across a post where it was said that this can be done by setting the VGA registers, but I could not understand much from the link provided in the post on how to implement it. Can someone whose done switching to Graphics Mode without using interrupts please help me resolve this issue.

    Thanks
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice