Thread: problem going into mode 13h

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    61

    problem going into mode 13h

    I'm having a problem going into mode 13h with dev-c++. The program compiles fine but when I execute it a BSOD pops up and says
    "A fatal exception OD has occurred at 0028:C0002ABC in VxD VMM(01) + 00001ABC. The current application will be terminated. "
    Heres my code
    #include <windows.h>

    int main()
    {
    asm("mov $0x13, %ax");
    asm("int $0x10");

    Sleep(3000);

    asm("mov $0x03, %ax");
    asm("int $0x10");

    return 0;
    }

    can anyone help.
    Last edited by ArseMan; 08-27-2001 at 05:30 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Statistical Mode Function
    By h4rrison.james in forum C Programming
    Replies: 5
    Last Post: 01-16-2009, 09:48 PM
  2. Problem with default font in graphical mode
    By voldemarz in forum C Programming
    Replies: 16
    Last Post: 10-24-2008, 01:30 PM
  3. Results in Debug and Release mode are different
    By jaro in forum C Programming
    Replies: 11
    Last Post: 05-27-2006, 11:08 AM
  4. opengl help
    By heat511 in forum Game Programming
    Replies: 4
    Last Post: 04-05-2004, 01:08 AM
  5. Grayscale and mode 13h
    By SMurf in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 05-08-2002, 12:36 PM