Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Writing ISR

Writing ISR

Scheduled Pinned Locked Moved System Admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    A_Fa
    wrote on last edited by
    #1

    Hi friends. Excuse me for bad english. I developed a bootloader. I want to change interrupt 0x13 of BIOS in this bootloader. I can call old subroutine of 0x13 successfully but I don't know how change readed data.

    void NewInterrupt13Handler()
    {
    __asm
    {
    leave
    jmp cs:OldInt13Handler
    }
    Print("This line is not execute because of iret in old OldInt13Handler");
    }
    void Int13FilterEntry ()
    {
    __asm
    {
    leave
    jmp NewInterrupt13Handler
    }
    Print("This line is not execute because of iret in old OldInt13Handler");
    }

    L 1 Reply Last reply
    0
    • A A_Fa

      Hi friends. Excuse me for bad english. I developed a bootloader. I want to change interrupt 0x13 of BIOS in this bootloader. I can call old subroutine of 0x13 successfully but I don't know how change readed data.

      void NewInterrupt13Handler()
      {
      __asm
      {
      leave
      jmp cs:OldInt13Handler
      }
      Print("This line is not execute because of iret in old OldInt13Handler");
      }
      void Int13FilterEntry ()
      {
      __asm
      {
      leave
      jmp NewInterrupt13Handler
      }
      Print("This line is not execute because of iret in old OldInt13Handler");
      }

      L Offline
      L Offline
      LloydA111
      wrote on last edited by
      #2

      Hi, This is the wrong forum for this sort of question. Also, perhaps some of the sites that are devoted to writing operating systems would be a better place to ask. These are 2 good sites that have plenty of useful information and forums: http://www.osdever.net/[^] http://wiki.osdev.org/Main_Page[^] Also, there are several good articles here on CP about writing an operating system/bootloaders. Have a search around on CP for them.


      See if you can crack this: b749f6c269a746243debc6488046e33f
      (This one is much easier than the last one!)

      The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups