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

  1. A
  2. ;    This is file: IBMMODE.330
  3. ;
  4. ;    This is a patch file for the IBM-DOS 3.30 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.330
  10. ;
  11. ;    These patches are for programming errors in IBM-DOS 3.30.
  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.30 version of DOS and make appropriate patches ON YOUR OWN.
  20.  
  21. A3206
  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:3206 8B1E7600       MOV    BX,[0076]
  28. ;xxxx:320A 81FB00F0       CMP    BX,F000
  29. ;With:
  30. ;xxxx:3206 8B1E3005       MOV    BX,[0530]
  31. ;xxxx:320A 21DB           AND    BX,BX
  32. ;xxxx:320C 90             NOP
  33. ;xxxx:320D 90             NOP
  34. MOV BX,[0530]
  35. AND BX,BX
  36. NOP
  37. NOP
  38.  
  39. A322E
  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:322E 8BF8           MOV    DI,AX
  46. ;xxxx:3230 2EA1D402       MOV    AX,CS:[02D4]
  47. ;xxxx:3234 8EC0           MOV    ES,AX
  48. ;xxxx:3236 8B367400       MOV    SI,[0074]
  49. ;xxxx:323A 893E7400       MOV    [0074],DI
  50. ;With:
  51. ;xxxx:322E C4367400       LES    SI,[0074]
  52. ;xxxx:3232 8CC3           MOV    BX,ES
  53. ;xxxx:3234 2E8E06D402     MOV    ES,CS:[02D4]
  54. ;xxxx:3239 A37400         MOV    [0074],AX
  55. ;xxxx:323C 89C7           MOV    DI,AX
  56. LES SI,[0074]
  57. MOV BX,ES
  58. CS: MOV ES,[02D4]
  59. MOV [0074],AX
  60. MOV DI,AX
  61.  
  62. A324A
  63. ;Patch 0003:
  64. ;Recognize no resident MODE when someone else chgs INT 1D.
  65. ;Allow MODE command to shift screen.
  66. ;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
  67. ;Replace:
  68. ;xxxx:324A 50             PUSH   AX
  69. ;With:
  70. ;xxxx:324A 06             PUSH   ES
  71. PUSH ES
  72.  
  73. W
  74. Q
  75.