home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 33 VDrivers / 33-VDrivers.zip / expos2d1.zip / SVGADATA.ENG < prev    next >
INI File  |  1993-06-23  |  20KB  |  991 lines

  1. [comment]
  2.     Graphics Mode: 640 x 480 x 256 colours.
  3.  
  4. [AdapterType]
  5.         ALI
  6.  
  7. [ChipSet]
  8.         Engine
  9.  
  10. [ModeInfo]
  11.         ModeAttributes   = 0x18
  12.         BytesPerScanLine = 80
  13.         XResolution      = 640
  14.         YResolution      = 480
  15.         TextRows         = 30
  16.         BitsPerPixel     = 8
  17.         NumberOfPlanes   = 1
  18.         PageLength       = 307200
  19.         SaveSize         = 307200
  20.         InterlaceMode    = 0
  21.         BufferAddress    = 0x0a0000
  22.  
  23. [TrapRegs]
  24.     0x3c2;
  25.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  26.     0x3d5;
  27.     0x3d6;
  28.     0x3d7;
  29.     0x3c4, 0x00-0x04;
  30.     0x3c5;
  31.     0x3c0, 0x00-0x14;
  32.     0x3c1;
  33.     0x3ce, 0x00-0x08, 0x09-0x0f;
  34.     0x3cf;
  35.  
  36. [Lock]
  37. /*
  38.  *    Lock Extended Registers
  39.  */
  40.  
  41. outb(0x3d4, 0x1a);
  42. outb(0x3d5, 0x00);
  43.  
  44. [UnLock]
  45. /*
  46.  *    Unlock Extended Registers
  47.  */
  48.  
  49. outb(0x3d4, 0x1a);
  50. outb(0x3d5, 0x10);
  51.  
  52. [SetMode]
  53.  
  54. /*
  55.  *    Set Miscellaneous Output Register
  56.  */
  57.  
  58. outb(0x3c2, 0xe3);
  59.  
  60.  
  61. /*
  62.  *    Unlock Extended Registers
  63.  */
  64.  
  65. outb(0x3d4, 0x1a);
  66. outb(0x3d5, 0x10);
  67.  
  68. outw(0x3d6, 0x0000);
  69.  
  70. outw(0x3d7, 0x0000);
  71.  
  72. /*
  73.  *    Set Sequencer Registers
  74.  */
  75.  
  76. r0   = 0x03; r1   = 0x01; r2   = 0x0f; r3   = 0x00; r4   = 0x0e;
  77. boutb(5, 0x00, 0x3c4, 0x3c5);
  78.  
  79. /*
  80.  *    Set CRT Registers
  81.  */
  82.  
  83. r17 = 0x0e;
  84. boutb(1, 17, 0x3d4, 0x3d5);
  85. r0   = 0x5f; r1   = 0x4f; r2   = 0x50; r3   = 0x82; r4   = 0x54;
  86. r5   = 0x80; r6   = 0x0b; r7   = 0x3e; r8   = 0x00; r9   = 0x40;
  87. r10  = 0x00; r11  = 0x00; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  88. r15  = 0x00; r16  = 0xea; r17  = 0x8c; r18  = 0xdf; r19  = 0x28;
  89. r20  = 0x40; r21  = 0xe7; r22  = 0x04; r23  = 0xa3; r24  = 0xff;
  90. boutb(25, 0x00, 0x3d4, 0x3d5);
  91.  
  92. r25  = 0x02; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  93. boutb(5, 0x19, 0x3d4, 0x3d5);
  94.  
  95. r33  = 0x00; 
  96. boutb(1, 0x21, 0x3d4, 0x3d5);
  97.  
  98. r35  = 0x00; 
  99. boutb(1, 0x23, 0x3d4, 0x3d5);
  100.  
  101. /*
  102.  *    Set Attribute Registers
  103.  */
  104.  
  105. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  106. r5   = 0x05; r6   = 0x06; r7   = 0x07; r8   = 0x08; r9   = 0x09;
  107. r10  = 0x0a; r11  = 0x0b; r12  = 0x0c; r13  = 0x0d; r14  = 0x0e;
  108. r15  = 0x0f; r16  = 0x41; r17  = 0x00; r18  = 0x0f; r19  = 0x00;
  109. r20  = 0x00; 
  110. boutb(21, 0x00, 0x3c0, 0x3c1);
  111.  
  112. /*
  113.  *    Set GDC Registers
  114.  */
  115.  
  116. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  117. r5   = 0x40; r6   = 0x05; r7   = 0x0f; r8   = 0xff; 
  118. boutb(9, 0x00, 0x3ce, 0x3cf);
  119.  
  120. r9   = 0x00; r10  = 0x00; r11  = 0x02; r12  = 0x14; r13  = 0x04;
  121. r14  = 0x00; r15  = 0x00; 
  122. boutb(7, 0x09, 0x3ce, 0x3cf);
  123.  
  124. [comment]
  125.     Graphics Mode: 800 x 600 x 16 colours.
  126.  
  127. [AdapterType]
  128.         ALI
  129.  
  130. [ChipSet]
  131.         Engine
  132.  
  133. [ModeInfo]
  134.         ModeAttributes   = 0x18
  135.         BytesPerScanLine = 100
  136.         XResolution      = 800
  137.         YResolution      = 600
  138.         TextRows         = 37
  139.         BitsPerPixel     = 4
  140.         NumberOfPlanes   = 4
  141.         PageLength       = 60000
  142.         SaveSize         = 240000
  143.         InterlaceMode    = 0
  144.         BufferAddress    = 0x0a0000
  145.  
  146. [TrapRegs]
  147.     0x3c2;
  148.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  149.     0x3d5;
  150.     0x3d6;
  151.     0x3d7;
  152.     0x3c4, 0x00-0x04;
  153.     0x3c5;
  154.     0x3c0, 0x00-0x14;
  155.     0x3c1;
  156.     0x3ce, 0x00-0x08, 0x09-0x0f;
  157.     0x3cf;
  158.  
  159. [Lock]
  160. /*
  161.  *    Lock Extended Registers
  162.  */
  163.  
  164. outb(0x3d4, 0x1a);
  165. outb(0x3d5, 0x00);
  166.  
  167. [UnLock]
  168. /*
  169.  *    Unlock Extended Registers
  170.  */
  171.  
  172. outb(0x3d4, 0x1a);
  173. outb(0x3d5, 0x10);
  174.  
  175. [SetMode]
  176.  
  177. /*
  178.  *    Set Miscellaneous Output Register
  179.  */
  180.  
  181. outb(0x3c2, 0xef);
  182.  
  183.  
  184. /*
  185.  *    Unlock Extended Registers
  186.  */
  187.  
  188. outb(0x3d4, 0x1a);
  189. outb(0x3d5, 0x10);
  190.  
  191. outw(0x3d6, 0x0000);
  192.  
  193. outw(0x3d7, 0x0000);
  194.  
  195. /*
  196.  *    Set Sequencer Registers
  197.  */
  198.  
  199. r0   = 0x03; r1   = 0x01; r2   = 0x0f; r3   = 0x00; r4   = 0x06;
  200. boutb(5, 0x00, 0x3c4, 0x3c5);
  201.  
  202. /*
  203.  *    Set CRT Registers
  204.  */
  205.  
  206. r17 = 0x0e;
  207. boutb(1, 17, 0x3d4, 0x3d5);
  208. r0   = 0x7a; r1   = 0x63; r2   = 0x64; r3   = 0x9d; r4   = 0x6a;
  209. r5   = 0x97; r6   = 0x6f; r7   = 0xf0; r8   = 0x00; r9   = 0x60;
  210. r10  = 0x00; r11  = 0x00; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  211. r15  = 0x00; r16  = 0x59; r17  = 0x8b; r18  = 0x57; r19  = 0x32;
  212. r20  = 0x00; r21  = 0x59; r22  = 0x6f; r23  = 0xe3; r24  = 0xff;
  213. boutb(25, 0x00, 0x3d4, 0x3d5);
  214.  
  215. r25  = 0x00; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  216. boutb(5, 0x19, 0x3d4, 0x3d5);
  217.  
  218. r33  = 0x00; 
  219. boutb(1, 0x21, 0x3d4, 0x3d5);
  220.  
  221. r35  = 0x00; 
  222. boutb(1, 0x23, 0x3d4, 0x3d5);
  223.  
  224. /*
  225.  *    Set Attribute Registers
  226.  */
  227.  
  228. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  229. r5   = 0x05; r6   = 0x14; r7   = 0x07; r8   = 0x38; r9   = 0x39;
  230. r10  = 0x3a; r11  = 0x3b; r12  = 0x3c; r13  = 0x3d; r14  = 0x3e;
  231. r15  = 0x3f; r16  = 0x01; r17  = 0x00; r18  = 0x0f; r19  = 0x00;
  232. r20  = 0x00; 
  233. boutb(21, 0x00, 0x3c0, 0x3c1);
  234.  
  235. /*
  236.  *    Set GDC Registers
  237.  */
  238.  
  239. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  240. r5   = 0x00; r6   = 0x05; r7   = 0x0f; r8   = 0xff; 
  241. boutb(9, 0x00, 0x3ce, 0x3cf);
  242.  
  243. r9   = 0x00; r10  = 0x00; r11  = 0x02; r12  = 0x04; r13  = 0x04;
  244. r14  = 0x00; r15  = 0x00; 
  245. boutb(7, 0x09, 0x3ce, 0x3cf);
  246.  
  247. [comment]
  248.     Graphics Mode: 800 x 600 x 256 colours.
  249.  
  250. [AdapterType]
  251.         ALI
  252.  
  253. [ChipSet]
  254.         Engine
  255.  
  256. [ModeInfo]
  257.         ModeAttributes   = 0x18
  258.         BytesPerScanLine = 100
  259.         XResolution      = 800
  260.         YResolution      = 600
  261.         TextRows         = 37
  262.         BitsPerPixel     = 8
  263.         NumberOfPlanes   = 1
  264.         PageLength       = 480000
  265.         SaveSize         = 480000
  266.         InterlaceMode    = 0
  267.         BufferAddress    = 0x0a0000
  268.  
  269. [TrapRegs]
  270.     0x3c2;
  271.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  272.     0x3d5;
  273.     0x3d6;
  274.     0x3d7;
  275.     0x3c4, 0x00-0x04;
  276.     0x3c5;
  277.     0x3c0, 0x00-0x14;
  278.     0x3c1;
  279.     0x3ce, 0x00-0x08, 0x09-0x0f;
  280.     0x3cf;
  281.  
  282. [Lock]
  283. /*
  284.  *    Lock Extended Registers
  285.  */
  286.  
  287. outb(0x3d4, 0x1a);
  288. outb(0x3d5, 0x00);
  289.  
  290. [UnLock]
  291. /*
  292.  *    Unlock Extended Registers
  293.  */
  294.  
  295. outb(0x3d4, 0x1a);
  296. outb(0x3d5, 0x10);
  297.  
  298. [SetMode]
  299.  
  300. /*
  301.  *    Set Miscellaneous Output Register
  302.  */
  303.  
  304. outb(0x3c2, 0xef);
  305.  
  306.  
  307. /*
  308.  *    Unlock Extended Registers
  309.  */
  310.  
  311. outb(0x3d4, 0x1a);
  312. outb(0x3d5, 0x10);
  313.  
  314. outw(0x3d6, 0x0000);
  315.  
  316. outw(0x3d7, 0x0000);
  317.  
  318. /*
  319.  *    Set Sequencer Registers
  320.  */
  321.  
  322. r0   = 0x03; r1   = 0x01; r2   = 0x0f; r3   = 0x00; r4   = 0x0e;
  323. boutb(5, 0x00, 0x3c4, 0x3c5);
  324.  
  325. /*
  326.  *    Set CRT Registers
  327.  */
  328.  
  329. r17 = 0x0e;
  330. boutb(1, 17, 0x3d4, 0x3d5);
  331. r0   = 0x7a; r1   = 0x63; r2   = 0x64; r3   = 0x9d; r4   = 0x6a;
  332. r5   = 0x97; r6   = 0x6f; r7   = 0xf0; r8   = 0x00; r9   = 0x60;
  333. r10  = 0x00; r11  = 0x00; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  334. r15  = 0x00; r16  = 0x59; r17  = 0x8b; r18  = 0x57; r19  = 0x32;
  335. r20  = 0x40; r21  = 0x59; r22  = 0x6f; r23  = 0xa3; r24  = 0xff;
  336. boutb(25, 0x00, 0x3d4, 0x3d5);
  337.  
  338. r25  = 0x02; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  339. boutb(5, 0x19, 0x3d4, 0x3d5);
  340.  
  341. r33  = 0x00; 
  342. boutb(1, 0x21, 0x3d4, 0x3d5);
  343.  
  344. r35  = 0x00; 
  345. boutb(1, 0x23, 0x3d4, 0x3d5);
  346.  
  347. /*
  348.  *    Set Attribute Registers
  349.  */
  350.  
  351. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  352. r5   = 0x05; r6   = 0x06; r7   = 0x07; r8   = 0x08; r9   = 0x09;
  353. r10  = 0x0a; r11  = 0x0b; r12  = 0x0c; r13  = 0x0d; r14  = 0x0e;
  354. r15  = 0x0f; r16  = 0x41; r17  = 0x00; r18  = 0x0f; r19  = 0x00;
  355. r20  = 0x00; 
  356. boutb(21, 0x00, 0x3c0, 0x3c1);
  357.  
  358. /*
  359.  *    Set GDC Registers
  360.  */
  361.  
  362. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  363. r5   = 0x40; r6   = 0x05; r7   = 0x0f; r8   = 0xff; 
  364. boutb(9, 0x00, 0x3ce, 0x3cf);
  365.  
  366. r9   = 0x00; r10  = 0x00; r11  = 0x02; r12  = 0x14; r13  = 0x04;
  367. r14  = 0x00; r15  = 0x00; 
  368. boutb(7, 0x09, 0x3ce, 0x3cf);
  369.  
  370. [comment]
  371.     Graphics Mode: 1024 x 768 x 16 colours.
  372.  
  373. [AdapterType]
  374.         ALI
  375.  
  376. [ChipSet]
  377.         Engine
  378.  
  379. [ModeInfo]
  380.         ModeAttributes   = 0x18
  381.         BytesPerScanLine = 128
  382.         XResolution      = 1024
  383.         YResolution      = 768
  384.         TextRows         = 48
  385.         BitsPerPixel     = 4
  386.         NumberOfPlanes   = 4
  387.         PageLength       = 98304
  388.         SaveSize         = 393216
  389.         InterlaceMode    = 0
  390.         BufferAddress    = 0x0a0000
  391.  
  392. [TrapRegs]
  393.     0x3c2;
  394.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  395.     0x3d5;
  396.     0x3d6;
  397.     0x3d7;
  398.     0x3c4, 0x00-0x04;
  399.     0x3c5;
  400.     0x3c0, 0x00-0x14;
  401.     0x3c1;
  402.     0x3ce, 0x00-0x08, 0x09-0x0f;
  403.     0x3cf;
  404.  
  405. [Lock]
  406. /*
  407.  *    Lock Extended Registers
  408.  */
  409.  
  410. outb(0x3d4, 0x1a);
  411. outb(0x3d5, 0x00);
  412.  
  413. [UnLock]
  414. /*
  415.  *    Unlock Extended Registers
  416.  */
  417.  
  418. outb(0x3d4, 0x1a);
  419. outb(0x3d5, 0x10);
  420.  
  421. [SetMode]
  422.  
  423. /*
  424.  *    Set Miscellaneous Output Register
  425.  */
  426.  
  427. outb(0x3c2, 0x2b);
  428.  
  429.  
  430. /*
  431.  *    Unlock Extended Registers
  432.  */
  433.  
  434. outb(0x3d4, 0x1a);
  435. outb(0x3d5, 0x10);
  436.  
  437. outw(0x3d6, 0x0000);
  438.  
  439. outw(0x3d7, 0x0000);
  440.  
  441. /*
  442.  *    Set Sequencer Registers
  443.  */
  444.  
  445. r0   = 0x03; r1   = 0x01; r2   = 0x0f; r3   = 0x00; r4   = 0x06;
  446. boutb(5, 0x00, 0x3c4, 0x3c5);
  447.  
  448. /*
  449.  *    Set CRT Registers
  450.  */
  451.  
  452. r17 = 0x0e;
  453. boutb(1, 17, 0x3d4, 0x3d5);
  454. r0   = 0x99; r1   = 0x7f; r2   = 0x80; r3   = 0x9c; r4   = 0x84;
  455. r5   = 0x13; r6   = 0x9b; r7   = 0x1f; r8   = 0x00; r9   = 0x00;
  456. r10  = 0x00; r11  = 0x00; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  457. r15  = 0x00; r16  = 0x82; r17  = 0x8c; r18  = 0x7f; r19  = 0x80;
  458. r20  = 0x00; r21  = 0x82; r22  = 0x99; r23  = 0xe3; r24  = 0xff;
  459. boutb(25, 0x00, 0x3d4, 0x3d5);
  460.  
  461. r25  = 0x03; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  462. boutb(5, 0x19, 0x3d4, 0x3d5);
  463.  
  464. r33  = 0x00; 
  465. boutb(1, 0x21, 0x3d4, 0x3d5);
  466.  
  467. r35  = 0x00; 
  468. boutb(1, 0x23, 0x3d4, 0x3d5);
  469.  
  470. /*
  471.  *    Set Attribute Registers
  472.  */
  473.  
  474. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  475. r5   = 0x05; r6   = 0x14; r7   = 0x07; r8   = 0x38; r9   = 0x39;
  476. r10  = 0x3a; r11  = 0x3b; r12  = 0x3c; r13  = 0x3d; r14  = 0x3e;
  477. r15  = 0x3f; r16  = 0x01; r17  = 0x00; r18  = 0x0f; r19  = 0x00;
  478. r20  = 0x00; 
  479. boutb(21, 0x00, 0x3c0, 0x3c1);
  480.  
  481. /*
  482.  *    Set GDC Registers
  483.  */
  484.  
  485. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  486. r5   = 0x00; r6   = 0x05; r7   = 0x0f; r8   = 0xff; 
  487. boutb(9, 0x00, 0x3ce, 0x3cf);
  488.  
  489. r9   = 0x00; r10  = 0x00; r11  = 0x00; r12  = 0x04; r13  = 0x04;
  490. r14  = 0x00; r15  = 0x00; 
  491. boutb(7, 0x09, 0x3ce, 0x3cf);
  492.  
  493. [comment]
  494.     Graphics Mode: 1024 x 768 x 256 colours.
  495.  
  496. [AdapterType]
  497.         ALI
  498.  
  499. [ChipSet]
  500.         Engine
  501.  
  502. [ModeInfo]
  503.         ModeAttributes   = 0x18
  504.         BytesPerScanLine = 128
  505.         XResolution      = 1024
  506.         YResolution      = 768
  507.         TextRows         = 48
  508.         BitsPerPixel     = 8
  509.         NumberOfPlanes   = 1
  510.         PageLength       = 786432
  511.         SaveSize         = 786432
  512.         InterlaceMode    = 0
  513.         BufferAddress    = 0x0a0000
  514.  
  515. [TrapRegs]
  516.     0x3c2;
  517.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  518.     0x3d5;
  519.     0x3d6;
  520.     0x3d7;
  521.     0x3c4, 0x00-0x04;
  522.     0x3c5;
  523.     0x3c0, 0x00-0x14;
  524.     0x3c1;
  525.     0x3ce, 0x00-0x08, 0x09-0x0f;
  526.     0x3cf;
  527.  
  528. [Lock]
  529. /*
  530.  *    Lock Extended Registers
  531.  */
  532.  
  533. outb(0x3d4, 0x1a);
  534. outb(0x3d5, 0x00);
  535.  
  536. [UnLock]
  537. /*
  538.  *    Unlock Extended Registers
  539.  */
  540.  
  541. outb(0x3d4, 0x1a);
  542. outb(0x3d5, 0x10);
  543.  
  544. [SetMode]
  545.  
  546. /*
  547.  *    Set Miscellaneous Output Register
  548.  */
  549.  
  550. outb(0x3c2, 0x2b);
  551.  
  552.  
  553. /*
  554.  *    Unlock Extended Registers
  555.  */
  556.  
  557. outb(0x3d4, 0x1a);
  558. outb(0x3d5, 0x10);
  559.  
  560. outw(0x3d6, 0x0000);
  561.  
  562. outw(0x3d7, 0x0000);
  563.  
  564. /*
  565.  *    Set Sequencer Registers
  566.  */
  567.  
  568. r0   = 0x03; r1   = 0x01; r2   = 0x0f; r3   = 0x00; r4   = 0x0e;
  569. boutb(5, 0x00, 0x3c4, 0x3c5);
  570.  
  571. /*
  572.  *    Set CRT Registers
  573.  */
  574.  
  575. r17 = 0x0e;
  576. boutb(1, 17, 0x3d4, 0x3d5);
  577. r0   = 0x99; r1   = 0x7f; r2   = 0x80; r3   = 0x9c; r4   = 0x84;
  578. r5   = 0x13; r6   = 0x9b; r7   = 0x1f; r8   = 0x00; r9   = 0x00;
  579. r10  = 0x00; r11  = 0x00; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  580. r15  = 0x00; r16  = 0x82; r17  = 0x8c; r18  = 0x7f; r19  = 0x80;
  581. r20  = 0x40; r21  = 0x82; r22  = 0x99; r23  = 0xa3; r24  = 0xff;
  582. boutb(25, 0x00, 0x3d4, 0x3d5);
  583.  
  584. r25  = 0x03; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  585. boutb(5, 0x19, 0x3d4, 0x3d5);
  586.  
  587. r33  = 0x00; 
  588. boutb(1, 0x21, 0x3d4, 0x3d5);
  589.  
  590. r35  = 0x00; 
  591. boutb(1, 0x23, 0x3d4, 0x3d5);
  592.  
  593. /*
  594.  *    Set Attribute Registers
  595.  */
  596.  
  597. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  598. r5   = 0x05; r6   = 0x06; r7   = 0x07; r8   = 0x08; r9   = 0x09;
  599. r10  = 0x0a; r11  = 0x0b; r12  = 0x0c; r13  = 0x0d; r14  = 0x0e;
  600. r15  = 0x0f; r16  = 0x41; r17  = 0x00; r18  = 0x0f; r19  = 0x00;
  601. r20  = 0x00; 
  602. boutb(21, 0x00, 0x3c0, 0x3c1);
  603.  
  604. /*
  605.  *    Set GDC Registers
  606.  */
  607.  
  608. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  609. r5   = 0x40; r6   = 0x05; r7   = 0x0f; r8   = 0xff; 
  610. boutb(9, 0x00, 0x3ce, 0x3cf);
  611.  
  612. r9   = 0x00; r10  = 0x00; r11  = 0x00; r12  = 0x14; r13  = 0x04;
  613. r14  = 0x00; r15  = 0x00; 
  614. boutb(7, 0x09, 0x3ce, 0x3cf);
  615.  
  616. [comment]
  617.     Text Mode: 40 cols, 25 rows.
  618.  
  619. [AdapterType]
  620.         ALI
  621.  
  622. [ChipSet]
  623.         Engine
  624.  
  625. [ModeInfo]
  626.         ModeAttributes   = 0x08
  627.         BytesPerScanLine = 40
  628.         XResolution      = 360
  629.         YResolution      = 400
  630.         XCharSize        = 9
  631.         YCharSize        = 16
  632.         TextRows         = 25
  633.         BitsPerPixel     = 4
  634.         NumberOfPlanes   = 1
  635.         PageLength       = 4000
  636.         SaveSize         = 4000
  637.         InterlaceMode    = 0
  638.         BufferAddress    = 0x0b8000
  639.  
  640. [TrapRegs]
  641.     0x3c2;
  642.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  643.     0x3d5;
  644.     0x3d6;
  645.     0x3d7;
  646.     0x3c4, 0x00-0x04;
  647.     0x3c5;
  648.     0x3c0, 0x00-0x14;
  649.     0x3c1;
  650.     0x3ce, 0x00-0x08, 0x09-0x0f;
  651.     0x3cf;
  652.  
  653. [Lock]
  654. /*
  655.  *    Lock Extended Registers
  656.  */
  657.  
  658. outb(0x3d4, 0x1a);
  659. outb(0x3d5, 0x00);
  660.  
  661. [UnLock]
  662. /*
  663.  *    Unlock Extended Registers
  664.  */
  665.  
  666. outb(0x3d4, 0x1a);
  667. outb(0x3d5, 0x10);
  668.  
  669. [SetMode]
  670.  
  671. /*
  672.  *    Set Miscellaneous Output Register
  673.  */
  674.  
  675. outb(0x3c2, 0x67);
  676.  
  677.  
  678. /*
  679.  *    Unlock Extended Registers
  680.  */
  681.  
  682. outb(0x3d4, 0x1a);
  683. outb(0x3d5, 0x10);
  684.  
  685. outw(0x3d6, 0x0000);
  686.  
  687. outw(0x3d7, 0x0000);
  688.  
  689. /*
  690.  *    Set Sequencer Registers
  691.  */
  692.  
  693. r0   = 0x03; r1   = 0x08; r2   = 0x03; r3   = 0x00; r4   = 0x02;
  694. boutb(5, 0x00, 0x3c4, 0x3c5);
  695.  
  696. /*
  697.  *    Set CRT Registers
  698.  */
  699.  
  700. r17 = 0x0e;
  701. boutb(1, 17, 0x3d4, 0x3d5);
  702. r0   = 0x2d; r1   = 0x27; r2   = 0x28; r3   = 0x90; r4   = 0x2b;
  703. r5   = 0xa0; r6   = 0xbf; r7   = 0x1f; r8   = 0x00; r9   = 0x4f;
  704. r10  = 0x0d; r11  = 0x0e; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  705. r15  = 0x00; r16  = 0x9c; r17  = 0x8e; r18  = 0x8f; r19  = 0x14;
  706. r20  = 0x1f; r21  = 0x96; r22  = 0xb9; r23  = 0xa3; r24  = 0xff;
  707. boutb(25, 0x00, 0x3d4, 0x3d5);
  708.  
  709. r25  = 0x00; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  710. boutb(5, 0x19, 0x3d4, 0x3d5);
  711.  
  712. r33  = 0x00; 
  713. boutb(1, 0x21, 0x3d4, 0x3d5);
  714.  
  715. r35  = 0x00; 
  716. boutb(1, 0x23, 0x3d4, 0x3d5);
  717.  
  718. /*
  719.  *    Set Attribute Registers
  720.  */
  721.  
  722. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  723. r5   = 0x05; r6   = 0x14; r7   = 0x07; r8   = 0x38; r9   = 0x39;
  724. r10  = 0x3a; r11  = 0x3b; r12  = 0x3c; r13  = 0x3d; r14  = 0x3e;
  725. r15  = 0x3f; r16  = 0x0c; r17  = 0x00; r18  = 0x0f; r19  = 0x08;
  726. r20  = 0x00; 
  727. boutb(21, 0x00, 0x3c0, 0x3c1);
  728.  
  729. /*
  730.  *    Set GDC Registers
  731.  */
  732.  
  733. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  734. r5   = 0x10; r6   = 0x0e; r7   = 0x00; r8   = 0xff; 
  735. boutb(9, 0x00, 0x3ce, 0x3cf);
  736.  
  737. r9   = 0x00; r10  = 0x00; r11  = 0x02; r12  = 0x04; r13  = 0x04;
  738. r14  = 0x00; r15  = 0x00; 
  739. boutb(7, 0x09, 0x3ce, 0x3cf);
  740.  
  741. [comment]
  742.     Text Mode: 80 cols, 25 rows.
  743.  
  744. [AdapterType]
  745.         ALI
  746.  
  747. [ChipSet]
  748.         Engine
  749.  
  750. [ModeInfo]
  751.         ModeAttributes   = 0x08
  752.         BytesPerScanLine = 80
  753.         XResolution      = 720
  754.         YResolution      = 400
  755.         XCharSize        = 9
  756.         YCharSize        = 16
  757.         TextRows         = 25
  758.         BitsPerPixel     = 4
  759.         NumberOfPlanes   = 1
  760.         PageLength       = 4000
  761.         SaveSize         = 4000
  762.         InterlaceMode    = 0
  763.         BufferAddress    = 0x0b8000
  764.  
  765. [TrapRegs]
  766.     0x3c2;
  767.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  768.     0x3d5;
  769.     0x3d6;
  770.     0x3d7;
  771.     0x3c4, 0x00-0x04;
  772.     0x3c5;
  773.     0x3c0, 0x00-0x14;
  774.     0x3c1;
  775.     0x3ce, 0x00-0x08, 0x09-0x0f;
  776.     0x3cf;
  777.  
  778. [Lock]
  779. /*
  780.  *    Lock Extended Registers
  781.  */
  782.  
  783. outb(0x3d4, 0x1a);
  784. outb(0x3d5, 0x00);
  785.  
  786. [UnLock]
  787. /*
  788.  *    Unlock Extended Registers
  789.  */
  790.  
  791. outb(0x3d4, 0x1a);
  792. outb(0x3d5, 0x10);
  793.  
  794. [SetMode]
  795.  
  796. /*
  797.  *    Set Miscellaneous Output Register
  798.  */
  799.  
  800. outb(0x3c2, 0x67);
  801.  
  802.  
  803. /*
  804.  *    Unlock Extended Registers
  805.  */
  806.  
  807. outb(0x3d4, 0x1a);
  808. outb(0x3d5, 0x10);
  809.  
  810. outw(0x3d6, 0x0000);
  811.  
  812. outw(0x3d7, 0x0000);
  813.  
  814. /*
  815.  *    Set Sequencer Registers
  816.  */
  817.  
  818. r0   = 0x03; r1   = 0x00; r2   = 0x03; r3   = 0x00; r4   = 0x02;
  819. boutb(5, 0x00, 0x3c4, 0x3c5);
  820.  
  821. /*
  822.  *    Set CRT Registers
  823.  */
  824.  
  825. r17 = 0x0e;
  826. boutb(1, 17, 0x3d4, 0x3d5);
  827. r0   = 0x5f; r1   = 0x4f; r2   = 0x50; r3   = 0x82; r4   = 0x55;
  828. r5   = 0x81; r6   = 0xbf; r7   = 0x1f; r8   = 0x00; r9   = 0x4f;
  829. r10  = 0x0d; r11  = 0x0e; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  830. r15  = 0x00; r16  = 0x9c; r17  = 0x8e; r18  = 0x8f; r19  = 0x28;
  831. r20  = 0x1f; r21  = 0x96; r22  = 0xb9; r23  = 0xa3; r24  = 0xff;
  832. boutb(25, 0x00, 0x3d4, 0x3d5);
  833.  
  834. r25  = 0x00; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  835. boutb(5, 0x19, 0x3d4, 0x3d5);
  836.  
  837. r33  = 0x00; 
  838. boutb(1, 0x21, 0x3d4, 0x3d5);
  839.  
  840. r35  = 0x00; 
  841. boutb(1, 0x23, 0x3d4, 0x3d5);
  842.  
  843. /*
  844.  *    Set Attribute Registers
  845.  */
  846.  
  847. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  848. r5   = 0x05; r6   = 0x14; r7   = 0x07; r8   = 0x38; r9   = 0x39;
  849. r10  = 0x3a; r11  = 0x3b; r12  = 0x3c; r13  = 0x3d; r14  = 0x3e;
  850. r15  = 0x3f; r16  = 0x0c; r17  = 0x00; r18  = 0x0f; r19  = 0x08;
  851. r20  = 0x00; 
  852. boutb(21, 0x00, 0x3c0, 0x3c1);
  853.  
  854. /*
  855.  *    Set GDC Registers
  856.  */
  857.  
  858. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  859. r5   = 0x10; r6   = 0x0e; r7   = 0x00; r8   = 0xff; 
  860. boutb(9, 0x00, 0x3ce, 0x3cf);
  861.  
  862. r9   = 0x00; r10  = 0x00; r11  = 0x02; r12  = 0x04; r13  = 0x04;
  863. r14  = 0x00; r15  = 0x00; 
  864. boutb(7, 0x09, 0x3ce, 0x3cf);
  865.  
  866. [comment]
  867.     Text Mode: 132 cols, 25 rows.
  868.  
  869. [AdapterType]
  870.         ALI
  871.  
  872. [ChipSet]
  873.         Engine
  874.  
  875. [ModeInfo]
  876.         ModeAttributes   = 0x08
  877.         BytesPerScanLine = 132
  878.         XResolution      = 1056
  879.         YResolution      = 350
  880.         XCharSize        = 8
  881.         YCharSize        = 14
  882.         TextRows         = 25
  883.         BitsPerPixel     = 4
  884.         NumberOfPlanes   = 1
  885.         PageLength       = 6600
  886.         SaveSize         = 6600
  887.         InterlaceMode    = 0
  888.         BufferAddress    = 0x0b8000
  889.  
  890. [TrapRegs]
  891.     0x3c2;
  892.     0x3d4, 0x00-0x18, 0x19-0x1d, 0x21-0x21, 0x23-0x23;
  893.     0x3d5;
  894.     0x3d6;
  895.     0x3d7;
  896.     0x3c4, 0x00-0x04;
  897.     0x3c5;
  898.     0x3c0, 0x00-0x14;
  899.     0x3c1;
  900.     0x3ce, 0x00-0x08, 0x09-0x0f;
  901.     0x3cf;
  902.  
  903. [Lock]
  904. /*
  905.  *    Lock Extended Registers
  906.  */
  907.  
  908. outb(0x3d4, 0x1a);
  909. outb(0x3d5, 0x00);
  910.  
  911. [UnLock]
  912. /*
  913.  *    Unlock Extended Registers
  914.  */
  915.  
  916. outb(0x3d4, 0x1a);
  917. outb(0x3d5, 0x10);
  918.  
  919. [SetMode]
  920.  
  921. /*
  922.  *    Set Miscellaneous Output Register
  923.  */
  924.  
  925. outb(0x3c2, 0xaf);
  926.  
  927.  
  928. /*
  929.  *    Unlock Extended Registers
  930.  */
  931.  
  932. outb(0x3d4, 0x1a);
  933. outb(0x3d5, 0x10);
  934.  
  935. outw(0x3d6, 0x0000);
  936.  
  937. outw(0x3d7, 0x0000);
  938.  
  939. /*
  940.  *    Set Sequencer Registers
  941.  */
  942.  
  943. r0   = 0x03; r1   = 0x01; r2   = 0x03; r3   = 0x00; r4   = 0x02;
  944. boutb(5, 0x00, 0x3c4, 0x3c5);
  945.  
  946. /*
  947.  *    Set CRT Registers
  948.  */
  949.  
  950. r17 = 0x0e;
  951. boutb(1, 17, 0x3d4, 0x3d5);
  952. r0   = 0x9f; r1   = 0x83; r2   = 0x84; r3   = 0x82; r4   = 0x8a;
  953. r5   = 0x98; r6   = 0xbf; r7   = 0x1f; r8   = 0x00; r9   = 0x4d;
  954. r10  = 0x0b; r11  = 0x0c; r12  = 0x00; r13  = 0x00; r14  = 0x00;
  955. r15  = 0x00; r16  = 0x81; r17  = 0x85; r18  = 0x5d; r19  = 0x42;
  956. r20  = 0x1f; r21  = 0x61; r22  = 0xbc; r23  = 0xa3; r24  = 0xff;
  957. boutb(25, 0x00, 0x3d4, 0x3d5);
  958.  
  959. r25  = 0x00; r26  = 0xd0; r27  = 0x3f; r28  = 0xff; r29  = 0xfc;
  960. boutb(5, 0x19, 0x3d4, 0x3d5);
  961.  
  962. r33  = 0x00; 
  963. boutb(1, 0x21, 0x3d4, 0x3d5);
  964.  
  965. r35  = 0x00; 
  966. boutb(1, 0x23, 0x3d4, 0x3d5);
  967.  
  968. /*
  969.  *    Set Attribute Registers
  970.  */
  971.  
  972. r0   = 0x00; r1   = 0x01; r2   = 0x02; r3   = 0x03; r4   = 0x04;
  973. r5   = 0x05; r6   = 0x14; r7   = 0x07; r8   = 0x38; r9   = 0x39;
  974. r10  = 0x3a; r11  = 0x3b; r12  = 0x3c; r13  = 0x3d; r14  = 0x3e;
  975. r15  = 0x3f; r16  = 0x08; r17  = 0x00; r18  = 0x0f; r19  = 0x00;
  976. r20  = 0x00; 
  977. boutb(21, 0x00, 0x3c0, 0x3c1);
  978.  
  979. /*
  980.  *    Set GDC Registers
  981.  */
  982.  
  983. r0   = 0x00; r1   = 0x00; r2   = 0x00; r3   = 0x00; r4   = 0x00;
  984. r5   = 0x10; r6   = 0x0e; r7   = 0x00; r8   = 0xff; 
  985. boutb(9, 0x00, 0x3ce, 0x3cf);
  986.  
  987. r9   = 0x00; r10  = 0x00; r11  = 0x02; r12  = 0x24; r13  = 0x04;
  988. r14  = 0x00; r15  = 0x00; 
  989. boutb(7, 0x09, 0x3ce, 0x3cf);
  990.  
  991.