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

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  4. ;
  5. ;    The following IBM OS/2 WARP source code is provided to you solely for
  6. ;    the purpose of assisting you in your development of OS/2 WARP device
  7. ;    drivers. You may use this code in accordance with the IBM License
  8. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  9. ;    Copyright statement may not be removed.;
  10. ;*****************************************************************************/
  11. ;/**********************************************************************/
  12. ;/*  OCO  SOURCE  MATERIALS                                            */
  13. ;/*                                                                    */
  14. ;/*  WITH  THE  AGGREGATED  OCO  SOURCE  MODULES  FOR  THIS  PROGRAM)  */
  15. ;/**********************************************************************/
  16. ;SCCSID = @(#)cga2mono.inc          07/17/89
  17.         PAGE    58,132
  18. ;       TITLE   CGA2mono.Inc -- CGA to Epoch Mono mapping Table
  19.  
  20. ;/*********************** START OF SPECIFICATIONS ***********************/
  21. ;/*                                                                     */
  22. ;/* SOURCE FILE NAME:    BvsModes.Inc                                   */
  23. ;/*                                                                     */
  24. ;/* DESCRIPTIVE NAME:    Table of BVS Supported Modes                   */
  25. ;/*                                                                     */
  26. ;/************************ END OF SPECIFICATIONS ************************/
  27.  
  28.  
  29. _DATA   SEGMENT WORD PUBLIC 'DATA'
  30.  
  31. ;/*********************** START OF SPECIFICATIONS ***********************/
  32. ;/*                                                                     */
  33. ;/* SOURCE FILE NAME:    CGA2mono.Inc                                   */
  34. ;/*                                                                     */
  35. ;/* DESCRIPTIVE NAME:    Table of CGA to Epoch mono mapping             */
  36. ;/*                                                                     */
  37. ;/* COPYRIGHT:   na                                                     */
  38. ;/*                                                                     */
  39. ;/* STATUS:      na                                                     */
  40. ;/*                                                                     */
  41. ;/* NOTES:       Non-Executable, Data Tables Only                       */
  42. ;/*                                                                     */
  43. ;/*    DEPENDENCIES:    None                                            */
  44. ;/*                                                                     */
  45. ;/*    RESTRICTIONS:    None                                            */
  46. ;/*                                                                     */
  47. ;/*    PATCH LABEL:      na                                             */
  48. ;/*                                                                     */
  49. ;/* ENTRY POINTS: None                                                  */
  50. ;/*                                                                     */
  51. ;/* EXTERNAL REFERENCES: None                                           */
  52. ;/************************ END OF SPECIFICATIONS ************************/
  53.  
  54.         public  cga2monotbl
  55. cga2monotbl label byte
  56.         db      0cch,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;00h-07h
  57.         db      0cch,048h,008h,008h,008h,008h,008h,008h      ;08h-0fh
  58.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;10h-17h
  59.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;18h-1fh
  60.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;20h-27h
  61.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;28h-2fh
  62.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;30h-37h
  63.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;38h-3fh
  64.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;40h-47h
  65.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;48h-4fh
  66.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;50h-57h
  67.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;58h-5fh
  68.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;60h-67h
  69.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;68h-6fh
  70.         db      004h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;70h-77h
  71.         db      004h,048h,008h,008h,008h,008h,008h,008h      ;78h-7fh
  72.         db      0cch,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;80h-87h
  73.         db      0cch,048h,008h,008h,008h,008h,008h,008h      ;88h-8fh
  74.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;90h-97h
  75.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;98h-9fh
  76.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;a0h-a7h
  77.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;a8h-afh
  78.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;b0h-b7h
  79.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;b8h-bfh
  80.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;c0h-c7h
  81.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;c8h-cfh
  82.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;d0h-d7h
  83.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;d8h-dfh
  84.         db       00h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;e0h-e7h
  85.         db      008h,048h,008h,008h,008h,008h,008h,008h      ;e8h-efh
  86.         db      004h,040h, 00h, 00h, 00h, 00h, 00h, 00h      ;f0h-f7h
  87.         db      004h,048h,008h,008h,008h,008h,008h,008h      ;f8h-ffh
  88.  
  89.  
  90.         public  cga2epoch
  91. cga2epoch   label byte
  92.         db      0c8h,048h,088h,008h,0c0h,040h,080h, 00h      ;00h-07h   ;foreground
  93.         db      0c8h,048h,088h,008h,0c0h,040h,080h, 00h      ;08h-0fh
  94.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;10h-17h   ;reverse blue
  95.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;18h-1fh
  96.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;20h-27h   ;reverse green
  97.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;28h-2fh
  98.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;30h-37h   ;reverse cyan
  99.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;38h-3fh
  100.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;40h-47h   ;reverse red
  101.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;48h-4fh
  102.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;50h-57h   ;reverse magenta
  103.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;58h-5fh
  104.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;60h-67h   ;reverse yellow
  105.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;68h-6fh
  106.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;70h-77h   ;reverse white
  107.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;78h-7fh
  108.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;80h-87h   ;reverse white
  109.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;88h-8fh
  110.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;90h-97h   ;reverse blue
  111.         db      04ch,04ch,04ch,04ch,04ch,04ch,04ch,04ch      ;98h-9fh
  112.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;a0h-a7h   ;reverse green
  113.         db      08ch,08ch,08ch,08ch,08ch,08ch,08ch,08ch      ;a8h-afh
  114.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;b0h-b7h   ;reverse cyan
  115.         db      00ch,00ch,00ch,00ch,00ch,00ch,00ch,00ch      ;b8h-bfh
  116.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;c0h-c7h   ;reverse red
  117.         db      0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h,0c4h      ;c8h-cfh
  118.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;d0h-d7h   ;reverse magenta
  119.         db      044h,044h,044h,044h,044h,044h,044h,044h      ;d8h-dfh
  120.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;e0h-e7h   ;reverse yellow
  121.         db      084h,084h,084h,084h,084h,084h,084h,084h      ;e8h-efh
  122.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;f0h-f7h   ;reverse white
  123.         db      004h,004h,004h,004h,004h,004h,004h,004h      ;f8h-ffh
  124.  
  125. _DATA   ENDS
  126.  
  127. ;;j-ys614 06/14/89 Newly created in order yo map US mono attrbute into Epoch.
  128.