home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / utils / fcons1.zip / IBMMODE.310 < prev    next >
Text File  |  1988-12-29  |  2KB  |  68 lines

  1. A
  2. ;    This is file: IBMMODE.310
  3. ;
  4. ;    This is a patch file for the IBM-DOS 3.10 MODE command.
  5. ;
  6. ;    DO NOT USE THIS FILE WITH *ANY* OTHER VERSION OF DOS!
  7. ;
  8. ;    To use this file:
  9. ;        DEBUG MODE.COM <IBMMODE.310
  10. ;
  11. ;    These patches are for programming errors in IBM-DOS 3.10.
  12. ;    Since it is not our job to make all versions of DOS correct,
  13. ;    it is up to you yourself or the manufacturer of your version
  14. ;    of DOS to make similar fixes if your DOS has similar problems.
  15. ;    We will provide similar patches only for other MS-DOS versions ONLY
  16. ;    if they come STRAIGHT from Microsoft with ***NO*** modifications!
  17. ;    IF you have ENOUGH programming background, you may use the comments
  18. ;    for each patch to find similar code in your NON-IBM NON-Microsoft
  19. ;    or NON-3.10 version of DOS and make appropriate patches ON YOUR OWN.
  20.  
  21. A10B6
  22. ;Patch 0001:
  23. ;Recognize no resident MODE when someone else chgs INT 1D.
  24. ;Allow MODE command to shift screen.
  25. ;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
  26. ;Replace:
  27. ;xxxx:10B6 8B1E7600       MOV    BX,[0076]
  28. ;xxxx:10BA 81FB00F0       CMP    BX,F000
  29. ;With:
  30. ;xxxx:10B6 8B1E3005       MOV    BX,[0530]
  31. ;xxxx:10BA 21DB           AND    BX,BX
  32. ;xxxx:10BC 90             NOP
  33. ;xxxx:10BD 90             NOP
  34. MOV BX,[0530]
  35. AND BX,BX
  36. NOP
  37. NOP
  38.  
  39. A10DA
  40. ;Patch 0002:
  41. ;Recognize no resident MODE when someone else chgs INT 1D.
  42. ;Allow MODE command to shift screen.
  43. ;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
  44. ;Replace:
  45. ;xxxx:10DA 2E            CS:
  46. ;xxxx:10DB 8B3EB202      MOV     DI,[02B2]
  47. ;xxxx:10DF 2E            CS:
  48. ;xxxx:10E0 A1B402        MOV     AX,[02B4]
  49. ;xxxx:10E3 8EC0          MOV     ES,AX
  50. ;xxxx:10E5 8B367400      MOV     SI,[0074]
  51. ;With:
  52. ;xxxx:10DA C4367400      LES     SI,[0074]
  53. ;xxxx:10DE 8CC3          MOV     BX,ES
  54. ;xxxx:10E0 2E            CS:
  55. ;xxxx:10E1 C43EB202      LES     DI,[02B2]
  56. ;xxxx:10E5 8CC0          MOV     AX,ES
  57. ;xxxx:10E7 90            NOP
  58. ;xxxx:10E8 90            NOP
  59. LES SI,[0074]
  60. MOV BX,ES
  61. CS: LES DI,[02B2]
  62. MOV AX,ES
  63. NOP
  64. NOP
  65.  
  66. W
  67. Q
  68.