Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        Switchar/availdev (INT 21h, 37h)

        Entry:
          AH = 37h
          AL = subfunction
                 0 Read switch character (returns current character in DL)
                 1 Set switch character (specify new character in DL)
                 2 Read device availability (as set by AL=03h)
                   Return: DL = device availability
                 3 Set device availability, where:
                     DL = 00h means \DEV\ must preceed device names
                     DL <> 00h means \DEV\ need not preceed device names

        Return:
          DL = Switch character (if AL=0 or 1)
               Device availability flag (if AL=2 or 3)
          AL = AL = FFh if invalid subfunction.

See Also: INT 21h, 33h

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