Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: how to implement int 27h or the function 31h of int 21h?  (Read 6291 times)

0 Members and 1 Guest are viewing this topic.

dafengqixi

    Topic Starter


    Greenhorn

    how to implement int 27h or the function 31h of int 21h?
    « on: March 10, 2010, 02:16:50 AM »
    hello everyone,
             I wonder how to implement  int 27h or the function 31h of int 21h,or you can tell me how they work.if you have the source codes of the functions ,please paste them or you can mail them to me.thank you.

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: how to implement int 27h or the function 31h of int 21h?
    « Reply #1 on: March 10, 2010, 02:59:18 AM »
    You mean the interrupt codes used in MS-DOS.
    http://spike.scu.edu.au/~barry/interrupts.html
    Are you writing in Assembly for a DOS? Which DOS?
    And are you wanting to use BIOS interrupts?
    http://en.wikipedia.org/wiki/BIOS_interrupt_call
    The above link gives you the some information yhou need and refers to other placews for more information.

    Quote
    INT 27h
    The recommended call instead of this one is INT 21h function 31h,

    http://www.delorie.com/djgpp/doc/dpmi/api/310c01.html

    Hope you know what your are doing.
    This is like going into a very high class restaurant and you don't see the prices. If you have to ask you can't afford it. Before you try and use these low level functions your should already have a full understanding of what they do. Otherwise you computer will crash and burn.

    dafengqixi

      Topic Starter


      Greenhorn

      Re: how to implement int 27h or the function 31h of int 21h?
      « Reply #2 on: March 10, 2010, 06:33:43 PM »
      it sounds a little crazy,but I will try.Thank you.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10