Thread: Bios Routines

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    35

    Question Bios Routines

    Hi,

    I would like to make use of the BOIS ISR's, for example sending output to a printer or capturing keyboard input.

    Can anyone tell me how to call the BOIS routines, are there any good examples anywhere?

    Compiler :MS Visual Studio 6.0
    O\S Win XP

    Many Thanks

    Mike

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    XP doesn't use the BIOS as far as I know.
    Besides, the BIOS runs in 16 bit real mode, and XP is entirely 32 bit protected mode.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Disturbed Boy gustavosserra's Avatar
    Join Date
    Apr 2003
    Posts
    244
    Quote Originally Posted by Salem
    XP doesn't use the BIOS as far as I know.
    Besides, the BIOS runs in 16 bit real mode, and XP is entirely 32 bit protected mode.
    Canīt he use 8086 assembly and then run in XPīs compatibility mode?
    Nothing more to tell about me...
    Happy day =)

  4. #4
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    That could work, but it's unnecessary since he's working with Windows.

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Quote Originally Posted by gustavosserra
    Canīt he use 8086 assembly and then run in XPīs compatibility mode?
    You can use loads of old crappy dos tools including TurboC or Qbasic. Those dos style apps will run in an emulation mode...so some ISRs will work...some might not.

    Best bet, if you working in windows, work with windows. There's a "windows way" of doing pretty much anything...

  6. #6
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Knowing Microsoft, there is probably a function called ShowBlueScreenOfDeath().

    You might want to look at the Microsoft Developer Library. They should have information on performing the tasks you mentioned.

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Quote Originally Posted by Frobozz
    Knowing Microsoft, there is probably a function called ShowBlueScreenOfDeath().
    Not very funny but 101% correct! The function is available via the DDK and is mainly for drivers - KeBugCheck

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can you still view the bios screen with a bad CPU?
    By HyperCreep in forum Tech Board
    Replies: 4
    Last Post: 12-31-2006, 06:57 PM
  2. Lost BIOS menu options?
    By PJYelton in forum Tech Board
    Replies: 3
    Last Post: 11-14-2004, 08:23 AM
  3. Bios upgrade-dell latitude
    By GanglyLamb in forum Tech Board
    Replies: 4
    Last Post: 06-18-2003, 01:55 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM
  5. rom/bios routines
    By ALLRIGHT in forum C Programming
    Replies: 1
    Last Post: 05-12-2002, 11:38 AM