하드웨어 코드 페이지

Hardware code page

컴퓨팅에서 HWCP(Hardware Code Page)는 디스플레이 어댑터나 프린터 등의 하드웨어 디바이스가 기본적으로 지원하는 코드 페이지를 말합니다.문자를 표시하는 문자영숫자 생성기의 상주 읽기 전용 메모리(ROM 또는 플래시 )에 저장되므로 사용자가 변경할 [1][2][3]수 없습니다.폰트 정의를 디바이스에 로드하지 않아도 시스템에서 사용할 수 있습니다.자체 코드 페이지 전환 로직 및 글꼴 관리를 초기화하기 전 및 그래픽 모드로 전환하기 전에 PC시스템 BIOS에 의해 발행되거나 운영 체제에 의해 표시되는 시작 메시지는 컴퓨터의 기본 하드웨어 코드 페이지에 표시됩니다.

코드 페이지 할당

북미 IBM 호환 PC에서 디스플레이 어댑터의 하드웨어 코드 페이지는 일반적으로 코드 페이지 437입니다.[4]그러나, 다양한 휴대용 machines[5][6][7]뿐만 아니라(동부)유럽, 아랍어, 중동과 아시아 PC하드웨어 코드 page,[1]이 코드 페이지를 포함한 다른 코드 페이지 번호 사용("히브리")[8]151("Nafitha 아랍어")[9]667("Mazovia")[1][10]737("그리스"), 850("다중 언어")[7][nb 1] 인코딩과 같은"Roman-8"[5][6]"캄.EnickýᆬKOI-8ᆭMIK",[10]과 다른 사람들.대부분의 디스플레이 어댑터는 단일 8비트 하드웨어 코드 페이지만 [1]지원합니다.비트맵은 많은 경우 DIP [4]소켓EPROM[12][13][4] 저장되어 있습니다.활성화되는 하드웨어 코드 페이지는 점퍼,[14] 구성[5][6] EEPROM 또는 CMOS [15]설정통해 사용자가 선택할 수 있습니다.단, 동유럽, 아랍어 및 히브리어 PC용으로 설계된 일부 디스플레이 어댑터는 여러 소프트웨어 전환 가능한[4] 하드웨어 코드 페이지([12][13]글꼴 페이지라고도 )를 지원하며 I/[1]O 포트 또는 추가 BIOS 기능을 통해 선택할 수 있습니다.

이에 대조적으로, 프린터 자주 코드 페이지입니다. 또한 때때로 8비트 코드 페이지 몇 437,[10][16][17]850,[10][16][17]851,[10]852,[10][18]853,[19]855,[10]는 경우에는 18처럼 자주 코드 페이지 367("/IEC646-US/아스키"[1])등7-bit/IEC646년 문자 집합의 다양한 변형 등 여러user-switchable 문자 집합 지원한다.-RSB- 857,[19]860,[10][16][17]861,[17]863,[10][16][17]865,[10][16][17]과 866.[10][18][20][21]동유럽 또는 중동 시장용 프린터는 다른 지역 고유의 하드웨어 코드 페이지를 지원하는 경우가 있습니다.프린터의 DIP 스위치 또는 구성 메뉴 또는 특정 이스케이프 [1][nb 2]시퀀스를 통해 선택할 수 있습니다.

운영 체제 지원

operating system은 코드 페이지 스위칭 로직을 초기화할 때 이전에 액티브했던 하드웨어 코드 페이지를 알아야 하지만 스스로 판단할 수 있는 방법은 없습니다.따라서 코드 페이지 전환이 올바르게 작동하려면 하드웨어 코드 페이지를 [1][22][23][24]지정해야 합니다.

DOS 및 Windows 9x 에서는, 하드웨어 코드 페이지를 디바이스 드라이버의 DISPLAY 에의 파라메타(hwcp)로서 지정하는 것으로 실현됩니다.시스템 프린터SYS in CONFIG.시스템:

DEVICE=…\DISPLAY.SYS CON=(type,hwcp,n (n,m))[1][2][22][23][24][25][26]
DEVICE=…\PRINTER.SYS PRN=(type,hwcp,n)[1][22][23][24][25][26]

OEM 문제로 여러 하드웨어 코드 페이지가 지원되는 경우 목록의 첫 번째 하드웨어 코드 페이지(hwcp1)에 기본 하드웨어 코드 페이지가 지정됩니다.

DEVICE=…\DISPLAY.SYS CON=(type,(hwcp1,hwcp2,…),n (n,m))[9]
DEVICE=…\PRINTER.SYS PRN=(type,(hwcp1,hwcp2,…),n)[9]

하드웨어 코드 페이지가 지정되어 있지 않은 경우, 이러한 드라이버는 디폴트로 더미 코드 페이지 번호999가[1][23][24] 되거나 하드웨어 코드 페이지가 프라이머리 코드 페이지(COUNTY 에 기재되어 있는 최초의 코드 페이지)와 같다고 가정합니다.CONFIG에서 지정된 국가 코드를 가진 특정[27] 국가의 SYS 파일.SYS COUNTRY 명령어 또는 운영 체제의 내부 디폴트라고 가정합니다([1]서양판 DOS에서는 보통 1(US).많은 영어권 국가에서 주요 코드 페이지는 437(미국) 또는 850(영국, 아일랜드, 캐나다)[23][24]입니다.따라서 시스템은 다른 코드 페이지를 지정하지 않고 이들 중 하나를 해당 장치의 기본 하드웨어 코드 페이지로 간주합니다.[1]

하드웨어 코드 페이지가 공식 코드 페이지가 할당된 페이지 중 하나와 일치하지 않는 경우 57344 ~61439 범위의 임의의 번호(E000h ~)사용자가 정의할 수 있는 코드 페이지의 경우 EFFh) 또는 개인 사용 코드 페이지의 경우 65280–65533(FF00h–FFDh)을 IBM CDRA별로 지정하여 운영 체제에 해당 코드 페이지를 선택할 수 있는 "경합 없는" 처리 권한을 부여할 수 있습니다.

아랍어 및 히브리어 MS-DOS는 DISPLAY를 사용하지 않습니다.시스템 및 프린터SYS. 단, 아랍을 사용하여 유사한 설비를 제공합니다.IC.COM, 히브리어COM, 및 SK_HGC.COM[9]

OEM 코드 페이지

하드웨어 코드 페이지도 OEM 코드 페이지입니다."OEM"이란 "OEM"이라는 명칭은 제조업체가 문자 집합을 다른 [28][29]시장에 맞게 변경할 수 있음을 나타냅니다.

하지만, OEM코드 페이지는 반드시 롬으나,라고 불리는 준비된 코드 pages,[2][25](aka 받을 수 있는 캐릭터 세트나 다운 받을 수 있는 글꼴), 문자 집합 래스터 글꼴로 적합한 디스플레이 어댑터의 글꼴 램(처럼 시리우스 1/Victor 9000,[30]NECAPC,[31일]HP100LX/200LX[15]Persyst의 BoB 색 Adapter,용에 모두 로드 등이 상주하지 않다.32]헤라클레스의 HGC+,[33][13][34]InCRAMFONT를 탑재olor 및 Network Plus[36][37], [33][38][13]IBMMCGA,[38][13] EGA,[38][13] VGA 등)[39][40][41][42][43] 및 프린터도 마찬가지입니다[33][35].따라서 OEM 코드 페이지 그룹은 하드웨어 코드 페이지의 슈퍼셋입니다.

「 」를 참조해 주세요.

메모들

  1. ^ HP OmniBook 300의 "International English" 버전은 하드웨어 코드 페이지로 코드 페이지 437이 아닌 코드 페이지 850사용합니다.
  2. ^ Epson, NEC FujitsuESC/P 호환 프린터에서는 다양한 하드웨어 코드 페이지로 전환하는 이스케이프 시퀀스는 다음과 같습니다.ESC R (n)(n) = 0인 경우254는 특정 문자 집합과 관련된 코드입니다.지원되는 코드의 범위는 프린터 모델과 설치된 글꼴 옵션에 따라 달라집니다.

레퍼런스

  1. ^ a b c d e f g h i j k l m n 폴, 마티아스 R.(2001-08-15)."프리 도스에서 변경하면 codepages"(기술 설계 시방서).그 2016-06-06에 원래에서 Archived.2016-06-06 Retrieved.그[…]능동적 시스템 codepage[…][…]은 때때로 도스 커널을 사용에서 현재 글로벌 codepage[…]은 codepage, 예를 들어 대조하는 질서와 다른 아이 에이틴엔 테이블 이 codepage에 의존한다라고 불렀다.대부분의 경우에 시스템 codepage은 codepage 콘솔(디스플레이 등과 같은 장치의 것입니다.곧 또 보자), 프린터(PRINTER.곧 또 보자), 키보드(KEYB.COM음, 이거 필요는 없다가 시스템codepage(예 모드를 사용하여)를 변경하지 않고 개별적인 장치 codepages 전환하고 있다.또한, NationalLanguageSupport문제를 다루는데 있어서, 그것은 현재 하드웨어를 적극적인 간을 구별하기 위해 그리고 중요한는 모든 장치 및/또는 시스템에 대한 주요 codepages.하드웨어 codepage은 기본 codepage 장치에 의해서 하드웨어의 초기화 후 지원을 받고 있다.보통 437에 콘솔에 대하지만, 몇몇 유럽 복제 850은 비디오 글꼴 ROMs에 저장된 몇몇 체코 이화 물질 유전자 활성제와 MDA카드 Kamenicky codepage 867년(TimeWordperfect codepage 1명은 895)그들의 ROMs에 저장했던 말을 들었다. 대부분의 프린터 367(ISO-646-US 7-bit)또는 437을 위한 전원에 디폴트 되고, 값은 기본 시스템, 또는 세계적인, cOdepage이 시스템에 대해서 항상 437DR-DOS[…] 하고 있으나 MS-DOS/PC 도스 속에 그것을 COUNTRY=country,codepage,filespec의 하나가 되어야 한다 codepages 국가대로 주어진 나라에 대한 유효성의codepage 진입 사실을 반영한다.곧 또 보자 filespec 대부분의 경우에-이것은 437(또는 850에 더 새로운 시스템)수준은 아니지만.기본 나라는 1(미국), 기본 filespec"\COUNTRY 있다.SYS"고 filespec이 발견된 제도는 커널의 정정pre-initialized 데이터에 사용될 미국 대부분의 경우에는 그 데이터입니다.없으면 codepage 국가로 나와 있는 경우, 도스 BIOS는 주어진 나라(또는 1)의 첫번째 codepage 가입을 위해, 이것은 일차 codepage라고 불린다 검색할 것이다.0의 codepage 값 내부적으로 이 codepage를 검색하고 국가에 사용된다.도스 BIOS와 NLSFUNC 0을 의미하"무엇이든 처음 지정된 국가 번호에 들어오는 어떤 codepage 일치하는"의codepage 값에 시스템 파일 파서.그래서, 그것은 국가에서codepage 항목의 주문에 달려 있다.시스템 파일 시스템이 437,850, 또는 다른 무언가까지 기본 값으로 될 것.[…]도록 장치 동시에 여러개의 하드웨어 codepages을 지원할 수 있[…] 하지만 일부 아랍어와 히브리어 HGC과 이화 물질 유전자 활성제 카드 여러 하드웨어 글꼴이라 부르는 것을 fontpages다.이와 상응하는fontpage 기능을 가지고 있다. INT2Fh/AD41h과 INT2Fh/AD42h.[…]COUNTRY.시스템과 KEYBOARD.곧 또 보자 도스.(아랍어와 히브리어 문제에서 한 나라에서 있을 수 있은 8codepages[…])[…]의 DEVICE=…\display:선처럼 지정하는 서양 문제에서 주어진 국가 두개만을 대상으로 codepage 항목 포함하고 있다.sys con=(ega,437,1)[…] 디스플레이다.시스템은 437이 디스플레이 어댑터의 하드웨어 codepage 추정해야 한다.이 디스플레이에 의해 알려진 것이 필요하다.곧 또 보자 때문에 소프트웨얼 준비가 되어 codepages와 하드웨어 codepage 전환하고 있는 방법은 없습니다. 그 자체에 따른 하드웨어 codepage에 대해 그 정보를 검색하는 것이다 다른 메커니즘을 사용할 것이다.요청된 codepage와 동일한 하드웨어 codepage 여기, 디스플레이를 선언했다.시스템 하드웨어 codepage에, 그렇지 않으면 그것은 정보가 내부 버퍼의 폰트를 찾기 위해 시도할 것이다를 전환하려면 메서드를 사용할 것이다.[…](NB다.fd-dev 포스트[1]에 기초를 둔다.).
  2. ^ a b c "Changing code pages". XyWrite III, XyWrite III Plus and Signature. 2009-04-25 [2002-09-04]. Application Note #111. Archived from the original on 2016-06-12. Retrieved 2016-06-12.
  3. ^ Phoenix Technologies, Ltd. (June 1991). System BIOS for IBM PCs, Compatibles, and EISA Computers — The Complete Guide to ROM-Based System Software. Phoenix Technical Reference Series (2 ed.). Amsterdam: Addison Wesley Publishing Company, Inc. pp. 140–141. ISBN 0-201-57760-7.
  4. ^ a b c d Elliott, John C. (2005-11-06). "Monochrome Display Adapter: Notes". Seasip.info. Archived from the original on 2016-11-23. Retrieved 2016-11-23. […] Reading from port 03BAh returns vertical sync in bit 7, and a card ID in bits 6-4: 000: Hercules, 001: Hercules Plus, 101: Hercules InColor, 111: Unknown clone […] One card […] which appears to be a Hercules clone of Eastern European origin, has a further capability - two ROM fonts, selectable in software. These options are controlled in a similar manner to other extended features in the Hercules: Bit 2 of port 3BFh must be set to enable the feature, and then Bit 4 of port 3B8h selects which font to use. The card ID in bits 6-4 of port 03BAh has all three bits set. […]
  5. ^ a b c Hewlett-Packard - Technical Reference Manual - Portable PLUS (1 ed.). Corvallis, OR, USA: Hewlett-Packard Company, Portable Computer Division. August 1985. 45559-90001. Retrieved 2016-11-27.
  6. ^ a b c Hewlett-Packard - Technical Reference Manual - Portable PLUS (PDF) (2 ed.). Portable Computer Division, Corvallis, OR, USA: Hewlett-Packard Company. December 1986 [August 1985]. 45559-90006. Archived (PDF) from the original on 2016-11-28. Retrieved 2016-11-27.
  7. ^ a b HP 95LX User's Guide (PDF) (2 ed.). Corvallis, OR, USA: Hewlett-Packard Company, Corvallis Division. June 1991 [March 1991]. pp. E-1–E-3, F-1–F-7. F0001-90003. Archived (PDF) from the original on 2016-11-28. Retrieved 2016-11-27. The HP 95LX character set is equivalent to code page 850, the IBM PC multilingual character set. (Note that your HP 95LX contains MS-DOS 3.22, which does not support code-page switching.) All the HP 95LX applications use this set except 1-2-3, which uses LICS, the Lotus International Character Set. Most LICS characters are included in code page 850; the few that are not will not display […] If your HP 95LX cannot display […] or if your printer cannot print a LICS character, the HP 95LX uses a fallback presentation for that character […] if you use the © symbol and your printer cannot print it, the HP 95LX might display (c) or c as the fallback presentation (depending on the capabilities of your printer).
  8. ^ Paul, Matthias R. (2002-09-05). "Technical info on undocumented DOS country info for LCASE, ARAMODE and CCTORC records". FreeDOS development list fd-dev at Topica. Archived from the original on 2016-05-27. Retrieved 2016-05-26.
  9. ^ a b c d Paul, Matthias R. (2002-12-04). "DISPLAY CON". FreeDOS development list freedos-dev. Archived from the original on 2017-09-09. Retrieved 2016-06-07.
  10. ^ a b c d e f g h i j k l Fujitsu DL6400/DL6600 Dot Matrix Printer User's Manual (PDF). Fujitsu Limited. April 1994. C147-E015-01EN. Archived (PDF) from the original on 2016-06-14. Retrieved 2016-06-14.
  11. ^ NEC Pinwriter. Ein Maßstab in der Profiklasse. (Printed 11-page color flyer about NEC Pinwriters P20/P30, P60/P70 and P90) (in German) (P-EAM-D-5/92 ed.), NEC Deutschland GmbH, May 1992
  12. ^ a b Paul, Matthias R. (2000). Brown, Ralf D. (ed.). "INT 15h/AX=67C3h - Arabic/Hebrew MS-DOS 5.0+ - HGC & HGC/RAMFont support". RBIL 61. DJ Delorie. Archived from the original on 2016-06-09. Retrieved 2016-06-09.
  13. ^ a b c d e f Brown, Ralf D. (2012-01-21) [2000-07-16]. "Public Files on FTP.CS.CMU.EDU - The x86 Interrupt List aka "Ralf Brown's Interrupt List" (RBIL)". Archived from the original on 2016-06-16. Retrieved 2016-06-16.
  14. ^ Derfler, Jr., Frank J. (1985-10-29). "Expansion Options: Persyst Color Combo: Fit for an XT". PC Magazine. Ziff Davis, Inc.: 196–199. Retrieved 2017-08-12.
  15. ^ a b HP 200LX User's Guide (PDF) (1 ed.). Singapore: Hewlett-Packard Singapore (Private) Limited, Asia-Pacific Personal Computer Division. October 1996. pp. 21-6–21-7, 25-9–25-13, 26-14–26-18, C-1–C-4, D-1–D-10. 1216-90001. Archived (PDF) from the original on 2016-11-30. Retrieved 2016-11-29. Your palmtop supports code pages 850 and 437. The built-in applications (except 1-2-3) and System Manager-compliant applications […] use code page 850. […] Any DOS application you load and run will by default use code page 437. If an application requires code page 850, you can select it using the Setup utility.
  16. ^ a b c d e Pinwriter P90 Bedienungshandbuch (Printed manual) (in German) (00 11/90 ed.). NEC Deutschland GmbH. November 1990.
  17. ^ a b c d e f Programmierung des GQ-Modus für Epson-Seitendrucker (Printed manual) (in German) (2 ed.). Epson Deutschland GmbH. 1991.
  18. ^ a b c Pinwriter Familie - Pinwriter - Epromsockel - Zusätzliche Zeichensätze / Schriftarten (Printed reference manual for optional font and code page EPROMs for NEC Pinwriters, including custom variants) (in German) (00 3/93 ed.). NEC Deutschland GmbH. March 1993.
  19. ^ a b Epson EPL-4300 Bedienungs-Handbuch (Printed manual) (in German) (1 ed.). Epson Deutschland GmbH. 1992.
  20. ^ bhd (2016-06-04) [1995]. "FreeBSD Handbook". The FreeBSD Documentation Project. 48895. Chernov, Andrey. 22.4.1. Localization - i18n/L10n Usage and Setup: Locale Configuration for Specific Languages: Russian Language (KOI8-R Encoding). Archived from the original on 2016-06-12. Retrieved 2016-06-12.
  21. ^ bhd (2016-06-04) [1995]. "FreeBSD Handbook". The FreeBSD Documentation Project. 48895. Chernov, Andrey. 22.5.1.3 Localization - i18n/L10n Usage and Setup: Localizing FreeBSD to Specific Languages: Russian Language (KOI8-R Encoding): Printer Setup. Archived from the original on 2016-06-12. Retrieved 2016-06-12.
  22. ^ a b c "Chapter 9: Configuring the System". Caldera DR-DOS 7.02 User Guide. Caldera, Inc. 1998 [1993, 1997]. Archived from the original on 2016-06-07.
  23. ^ a b c d e Paul, Matthias R. (1997-07-30). NWDOS-TIPs — Tips & Tricks rund um Novell DOS 7, mit Blick auf undokumentierte Details, Bugs und Workarounds. MPDOSTIP. Release 157 (in German) (3 ed.). Archived from the original on 2016-05-22. Retrieved 2012-01-11. (NB. NWDOSTIP).TXT는 Novell DOS 7 및 OpenDOS 7.01관한 포괄적인 작업이며, 문서화되어 있지 않은 많은 기능 및 내부 기능에 대한 설명을 포함합니다.저자의 더 큰 MPDOSTIP.Z의 일부입니다.IP 수집은 최대 2001년까지 유지되며 동시에 많은 사이트에 배포되었습니다.제공된 링크는 HTML 변환된 이전 버전의 NWDOSTIP를 가리키고 있습니다.TXT 파일).
  24. ^ a b c d e Paul, Matthias R. (2001-04-09). NWDOS-TIPs — Tips & Tricks rund um Novell DOS 7, mit Blick auf undokumentierte Details, Bugs und Workarounds. MPDOSTIP. Release 183 (in German) (3 ed.).
  25. ^ a b c "Chapter 17: Setting Up Code Page Switching". Caldera DR-DOS 7.02 User Guide. Caldera, Inc. 1998 [1993, 1997]. Archived from the original on 2016-06-09.
  26. ^ a b Prosise, Jeff (1990-05-15). "Tutor: Using code pages". PC Magazine: 327–328. Retrieved 2016-06-09.
  27. ^ Paul, Matthias R. (2001-06-10) [1995]. "DOS COUNTRY.SYS file format" (COUNTRY.LST file) (1.44 ed.). Archived from the original on 2016-04-20. Retrieved 2016-08-20.
  28. ^ Chen, Raymond (2005-03-08). "Keep your eye on the code page". The Old New Thing. Microsoft. Archived from the original on 2016-06-12. Retrieved 2016-06-12.
  29. ^ Chen, Raymond (2005-08-29). "Why is the default console codepage called "OEM"?". The Old New Thing. Microsoft. Archived from the original on 2016-06-12. Retrieved 2016-06-12.
  30. ^ Sargent III., Murray; Shoemaker, Richard L.; Stelzer, Ernst H. K. (1988). Assemblersprache und Hardware des IBM PC/XT/AT (in German) (1 ed.). Addison-Wesley Verlag (Deutschland) GmbH / Addison-Wesley Publishing Company. ISBN 3-89319-110-0. VVA-Nr. 563-00110-4.
  31. ^ NEC Information Systems, Inc. (November 1983). Advanced Personal Computer - MS-DOS System Programmer's Guide (PDF) (REV 00 ed.). NEC Corporation. part number 819-000104-3001. Archived (PDF) from the original on 2016-11-25. Retrieved 2016-11-25.
  32. ^ Hart, Glenn A.; Forney, Jim (1985-02-19). "Video Board Reviews: Persyst BoB Color Adapter". PC Magazine. Ziff Davis, Inc.: 121–133.
  33. ^ a b c Wilton, Richard (1987). Programmer's guide to the PC & PS/2 video systems (1 ed.). Microsoft Press. ISBN 1-55615-103-9. (NB. 제2판에서는 InColor 카드와 MCGA 카드에 대한 자세한 내용은 다루지 않습니다.)
  34. ^ Elliott, John C. (2012-08-09). "Hercules Graphics Card Plus: Notes". Seasip.info. Archived from the original on 2016-11-23. Retrieved 2016-11-23.
  35. ^ Elliott, John C. (2012-08-05). "Hercules InColor Card: Notes". Seasip.info. Archived from the original on 2016-11-23. Retrieved 2016-11-23.
  36. ^ CW (1988-04-22). "Hercules bringt neues PC-Board mit Ramfont: Grafik und Netzwerk auf einer Karte". Computerwoche (in German). Archived from the original on 2017-09-09. Retrieved 2016-11-24.
  37. ^ "Hercules Network Card Plus". PC Magazine. Ziff Davis, Inc. 1988-05-31. Retrieved 2016-11-24.
  38. ^ a b c Ferraro, Richard F. (August 1994). Programmer's Guide to the EGA, VGA and Super VGA Cards (3 ed.). Addison-Wesley Publishing Company, Inc. ISBN 0-201-62490-7. EAN 9780201624908.
  39. ^ Paul, Matthias R. (2001-06-10) [1995]. "Format description of DOS, OS/2, and Windows NT .CPI, and Linux .CP files" (CPI.LST file) (1.30 ed.). Archived from the original on 2016-04-20. Retrieved 2016-08-20.
  40. ^ Elliott, John C. (2006-10-14). "CPI file format". Seasip.info. Archived from the original on 2016-09-22. Retrieved 2016-09-22.
  41. ^ Brouwer, Andries Evert (2001-02-10). "CPI fonts". 0.2. Archived from the original on 2016-09-22. Retrieved 2016-09-22.
  42. ^ Haralambous, Yannis (September 2007). Fonts & Encodings. Translated by Horne, P. Scott (1 ed.). Sebastopol, California, USA: O'Reilly Media, Inc. pp. 601–602, 611. ISBN 978-0-596-10242-5.
  43. ^ MS-DOS Programmer's Reference. Microsoft Press. 1991. ISBN 1-55615-329-5.

외부 링크