Using the interrupts in c language

Home Forums C Programming Using the interrupts in c language

This topic contains 3 replies, has 2 voices, and was last updated by  msaqib 13 years, 7 months ago.

  • Author
  • #1880


    Using interrupts is really fun. The interrupts give the absoulte power to the programer. The bios routine can directly be executed. things like accesing the flopy in low leve and reading sector by sector. Reading the time from bios CMOS.

    in order to execute a interrupt and get the result u need to do following steps. first define union REGS inregs,outregs pass the subroutine value through the inregs
    invoke an interrupt with the int86 command and get the result in out regs

    this is the procedure to run any interrupt subroutine.

  • #3130


    Can you Please give some code sample, to do this.
    Actually I have never beeen into this area.

  • #3131


    As i already explained how to use intrepput routine in BIOS now here is example to get the time from the CMOS

  • #3132


    Thanks for your support.
    I have’t tried this code due to some business, After testing this code I will again ask for your support.

You must be logged in to reply to this topic.