qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21H Function 66H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Get or Set Code Page     DOS 3.3 Only
 
  Obtains or selects the current code page.
 
  Input                                     Output
  ══════════════════════════════            ══════════════════════════════
  AH=66H                                    If function successful
  AL=subfunction                            Carry flag=clear
     01H=Get Code Page                      and, if called with AL=01H
     02H=Select Code Page                   BX=active code page
  BX=code page to select, if                DX=default code page
   AL=02H                                   If function unsuccessful
                                            Carry flag=set
                                            AX=error code
                                    -♦-