qa.hlp (Table of Contents; Topic list)
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
                                    -♦-