home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v2.zip / DDKX86 / DBCSDD / SRC_DBCS / VDHV / CGA2EPO.INC < prev    next >
Text File  |  1995-04-14  |  5KB  |  93 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT (C) Microsoft Corporation, 1989
  4. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  5. ;
  6. ;    The following IBM OS/2 WARP source code is provided to you solely for
  7. ;    the purpose of assisting you in your development of OS/2 WARP device
  8. ;    drivers. You may use this code in accordance with the IBM License
  9. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  10. ;    Copyright statement may not be removed.;
  11. ;*****************************************************************************/
  12. ;/*****************************************************************************
  13. ;*
  14. ;* SOURCE FILE NAME = CGA2EPO.INC
  15. ;*
  16. ;* DESCRIPTIVE NAME = Table of CGA to Epoch mono mapping
  17. ;*
  18. ;*
  19. ;* VERSION      V2.0
  20. ;*
  21. ;* DATE
  22. ;*
  23. ;* DESCRIPTION  This file contains some of the definitions needed for
  24. ;*              CGA to Epoch Mono mapping Table
  25. ;*
  26. ;* FUNCTIONS    NONE
  27. ;*
  28. ;* NOTES        NONE
  29. ;*
  30. ;* STRUCTURES   NONE
  31. ;*
  32. ;* EXTERNAL REFERENCES
  33. ;*
  34. ;*              NONE
  35. ;*
  36. ;* EXTERNAL FUNCTIONS
  37. ;*
  38. ;*              NONE
  39. ;*
  40. ;* CHANGE ACTIVITY =
  41. ;*   DATE      FLAG        APAR    CHANGE DESCRIPTION
  42. ;*   --------  ----------  -----   --------------------------------------
  43. ;*   mm/dd/yy  @Vr.mpppxx  xxxxx   xxxxxxx
  44. ;*   06/14/89  j-ys614                  Newly created in order yo map US mono attrbute into Epoch.
  45. ;*   11/29/89  J-KK1129            KKJ, Reverse bit in Epoch Color Mode for ANSI request.
  46. ;*                                      Reverse request from ANSI is "0x70", BG color bits On.
  47. ;*   01/17/89  J-KK0117            KKJ, No longer Use Table: cga2monotbl for Epoch Mono Mode
  48. ;*
  49. ;*****************************************************************************/
  50.  
  51. _DATA   SEGMENT WORD PUBLIC 'DATA'
  52.  
  53.         public  cga2monotbl
  54. cga2monotbl label byte
  55.  
  56.  
  57.         public  cga2epoch
  58. cga2epoch   label byte
  59.         db      0c8h,048h,088h,008h,0c0h,040h,080h, 00h      ;00h-07h   ;foreground
  60.         db      0c8h,048h,088h,008h,0c0h,040h,080h, 00h      ;08h-0fh
  61.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;10h-17h   ;reverse blue
  62.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;18h-1fh
  63.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;20h-27h   ;reverse green
  64.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;28h-2fh
  65.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;30h-37h   ;reverse cyan
  66.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;38h-3fh
  67.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;40h-47h   ;reverse red
  68.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;48h-4fh
  69.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;50h-57h   ;reverse magenta
  70.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;58h-5fh
  71.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;60h-67h   ;reverse yellow
  72.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;68h-6fh
  73.         db      004h,04ch,08ch,00ch,0c4h,044h,084h, 04h      ;70h-77h   ;reverse
  74.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;78h-7fh
  75.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;80h-87h   ;reverse white
  76.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;88h-8fh
  77.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;90h-97h   ;reverse blue
  78.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;98h-9fh
  79.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;a0h-a7h   ;reverse green
  80.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;a8h-afh
  81.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;b0h-b7h   ;reverse cyan
  82.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;b8h-bfh
  83.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;c0h-c7h   ;reverse red
  84.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;c8h-cfh
  85.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;d0h-d7h   ;reverse magenta
  86.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;d8h-dfh
  87.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;e0h-e7h   ;reverse yellow
  88.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;e8h-efh
  89.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;f0h-f7h   ;reverse white
  90.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;f8h-ffh
  91.  
  92. _DATA   ENDS
  93.