home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / doc / graphdoc / umc.txt < prev    next >
Text File  |  1994-01-18  |  4KB  |  142 lines

  1. UMC 85c408
  2.  
  3.  
  4. Support chips:
  5.  
  6. UM9502     Clock chip
  7.  
  8. UM70c178   High color 15/16 bit DAC (Similar to Sierra SC11487)
  9.  
  10.  
  11. 3BFh (R/W):
  12. Note: written with ACh on startup ?
  13.  
  14. 3C4h index 5 (R/W):
  15. bit   5
  16.       7
  17.  
  18. 3C4h index 6 (R/W):
  19. bit 0-3  Read bank in 64K units
  20.     4-7  Write bank in 64K units
  21.  
  22. 3C4h index 7 (R/W):
  23. bit   0  Clock select?
  24.       1
  25.       2  If set memory access is 16bit, if clear 8bit.
  26.       3
  27.     6-7  Video Memory: 0: 256K, 1: 512K, 2/3: 1MB
  28.          Set by BIOS on initialisation.
  29.  
  30. 3C4h index 8 (R/W):
  31. bit   3  If set causes the first >200 pixels of each scanline to be blanked ??
  32.       5  If set changes the order/way pixels are displayed:
  33.          In 16 color modes each even byte is shown twice, causing the odd ones
  34.          to be skipped.
  35.          In "normal" 256color modes (3d4h index 33h bit 4 is clear), each even
  36.          bank (64K) is shown twice, causing the odd ones to be skipped.
  37.          In extended 256color modes (3d4h index 33h bit 4 is set) some strange
  38.          pixel replication happens
  39.       6  Clock select ?
  40.       7  If clear disables bit 0 of the bank registers
  41.  
  42. 3C4h index 9 (R/W):
  43. bit   2  Causes drastic color shifts if set??
  44.       3  Blanks display if set
  45.       7  Clock select ??
  46.  
  47. 3C4h index 0Ah (R/W):
  48.  
  49. 3CEh index  9  (R/W):
  50. bit   2
  51.       3  Changes the order/way pixels are decoded within each byte/word/dword.
  52.  
  53. 3CEh index 0Ah (R/W):  Scratch
  54. bit   0
  55.       1
  56.       2  If set HiColor is 64K, if clear 32K
  57.       3  If set only use lowest 2 bits of each bank register
  58.       4  
  59.       6
  60.       7  If set only use lowest bit of the bank registers
  61.  
  62. 3CEh index 0Bh (R/W):  Scratch
  63. bit 0-7  Current Video Mode
  64.  
  65. 3d4h index 2Eh (R/W):
  66. bit   3  If set doubles each scan line
  67.     4-5  Clock select ??
  68.       7  Clock select ??
  69.  
  70. 3d4h index 2Fh (R/W):
  71. bit   0  Set if in an interlaced mode
  72.       1  If set disables access to memory above 256K ?
  73.     4-7  Clock select ??
  74.  
  75. 3d4h index 33h (R/W):
  76. bit   1  Display Start Address bit 16
  77.       4  Set if in an extended 256color mode
  78.  
  79.  
  80. ID UMC superVGA:
  81.  
  82.   old:=inp($3BF);
  83.   outp($3BF,3);
  84.   if not testinx($3C4,6) then
  85.   begin
  86.     outp($3BF,$AC);
  87.     if testinx($3C4,6) then UMC
  88.   end;
  89.   outp($3BF,old);
  90.  
  91.  
  92.  
  93. Modes:
  94.  
  95.   46h  T   132   25    2  (8x14)
  96.   47h  T   132   29    2  (8x12)
  97.   48h  T   132   32    2  (8x12)
  98.   49h  T   132   44    2  (8x8)
  99.   50h  G   640  480  32K  P15/P16    !Note: 32K or 64K is selected
  100.   51h  G   800  600  32K  P15/P16    !from 3CEh index Ah bit 2.
  101.   58h  T    80   32   16  (9x16)
  102.   5Ch  G   640  480  256  P8
  103.   5Eh  G   800  600  256  P8
  104.   5Fh  G  1024  768   16  PL4
  105.   60h  T   132   25   16  (8x14)
  106.   61h  T   132   29   16  (8x12)
  107.   62h  T   132   32   16  (8x12)
  108.   63h  T   132   44   16  (8x8)
  109.   64h  T   132   60   16  (8x8)
  110.   6Ah  G   800  100   16  PL4
  111.   6Bh  T   100   37   16  (8x16)
  112.   6Ch  G   800  600  256  P8
  113.   72h  T    80   60   16  (8x8)
  114.   73h  G   640  480   16  PL4
  115.   74h  T    80   66   16  (8x8)
  116.   78h  T   100   37   16  (8x16)
  117.   79h  G   800  600   16  PL4
  118.   7Ah  G  1280 1024   16  PL4
  119.   7Dh  G   512  512  256  P8
  120.   7Eh  G   640  400  256  P8
  121.   7Fh  G  1024  768  256  P8
  122.  
  123. ---------V-1012-A0----------------------------
  124. INT 10 - VIDEO - UMC - SET SCROLL TYPE
  125.         AH = 12h
  126.         BL = A0h
  127.         AL = Type of scroll in text modes
  128.               00h  Jump    (Sets 0:487h bit 6)
  129.               01h  Smooth  (Clears 0:487h bit 6)
  130. ---------V-102000-----------------------------
  131. INT 10 - VIDEO - UMC - GET BANKs
  132.         AH = 2000h
  133. Return: AL = 20h if supported
  134.         BL = Read bank
  135.         BH = Write bank
  136. ---------V-102001-----------------------------
  137. INT 10 - VIDEO - UMC - SET BANKs
  138.         AH = 2001h
  139.         BL = Read Bank
  140.         BH = Write Bank
  141. Return: AL = 20h if supported
  142.