home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / USCX / DOSUT-03.ZIP / FLIGHT.NEW < prev    next >
Text File  |  1983-07-20  |  2KB  |  99 lines

  1.         Flight Simulator RGB Modifications
  2.  
  3.                 By: Andrew Tuline
  4.  
  5.                 CIS: 70465,1223
  6.  
  7.         The modifications included herein will allow an RGB
  8. monitor to show some colours using the Flight Simulator program.
  9. This modification is not perfect, nor is is very well tested.
  10. The user should make a copy of their Flight Simulator program
  11. using their favourite technique. As we know even the most
  12. obvious methods may elude us. Anyways, one of the bugs is, when
  13. the user enters the slew mode, the modifications are nullified.
  14. Basically, the technique is to intercept the disk vector and
  15. setup a port for the colour display adapter for the needed
  16. values. I certainly hope, that by disclosing this technique,
  17. Microsoft doesn't skin my hide. Anyways to modify your extra
  18. spare disk, boot up debug in DOS 2.0 and type the following:
  19.  
  20. Note: you need a system with at least 96K to use this
  21. modification as is.
  22.  
  23. l cs:0 0 0 1
  24. a 0
  25. mov     ax,201
  26. mov     dx,0
  27. mov     cl,2
  28. mov     ch,27
  29. mov     bx,1000
  30. mov     es,bx
  31. xor     bx,bx
  32. int     13
  33. jmp     1000:0
  34. w cs:0 0 0 1
  35.  
  36.  
  37.  
  38. l cs:0 0 139 1
  39. a 0
  40. push    cs
  41. pop     ds
  42. mov     ax,0
  43. mov     es,ax
  44. es:
  45. mov     ax,[4c]
  46. mov     [70],ax
  47. es:
  48. mov     ax,[4e]
  49. mov     [72],ax
  50. mov     ax,48
  51. es:
  52. mov     [4c],ax
  53. es:
  54. mov     [4e],cs
  55. cli
  56. xor     ax,ax
  57. mov     ds,ax
  58. mov     es,ax
  59. mov     ss,ax
  60. mov     sp,c0b0
  61. mov     cx,200
  62. mov     si,7c00
  63. mov     di,500
  64. sti
  65. repz
  66. movsb
  67. jmp     0:7c18
  68.  
  69.  
  70. a 48
  71. pushf
  72. push    cs
  73. cs:
  74. mov     [74],ax
  75. mov     ax,5b
  76. push    ax
  77. cs:
  78. mov     ax,[74]
  79. jmp     F000:EC59  <- this is also saved at 1000:0070
  80. pushf
  81. push    ax
  82. push    dx
  83. mov     dx,3d8
  84. mov     al,0a
  85. out     dx,al
  86. inc     dx
  87. mov     al,20
  88. out     dx,al
  89. pop     dx
  90. pop     ax
  91. popf
  92. iret
  93. w cs:0 0 139 1
  94.  
  95.  
  96. The value 20 a couple of lines up sets up the colours for low
  97. intensity cyan/magenta/white. Good luck, and may the colours
  98. be with you.
  99.