Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 15 - system - switch to virtual mode (at,xt286,ps50+) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 15 - SYSTEM - SWITCH TO VIRTUAL MODE (AT,XT286,PS50+)
        AH = 89h
        BL = interrupt number of IRQ0 (IRQ1-7 use next 7 interrupts)
        BH = interrupt number of IRQ8 (IRQ9-F use next 7 interrupts)
        DS:SI -> GDT for protected mode
               offset 0h  null descriptor
                      8h  GDT descriptor
                     10h  IDT descriptor
                     18h  DS
                     20h  ES
                     28h  SS
                     30h  CS
                     38h  uninitialized, used to build descriptor for BIOS CS
        CX = offset into protected-mode CS to jump to
Return: CF set on error
           AH = 0FFh  error enabling address line 20
        in protected mode at specified address if successful
SeeAlso: INT 67/AX=DE0Ch

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson