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

  1. A
  2. ;    This is file: IBMMODE.300
  3. ;
  4. ;    This is a patch file for the IBM-DOS 3.00 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.300
  10. ;
  11. ;    These patches are for programming errors in IBM-DOS 3.00.
  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.00 version of DOS and make appropriate patches ON YOUR OWN.
  20.  
  21. A1266
  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:1266 8B1E7600       MOV    BX,[0076]
  28. ;xxxx:126A 81FB00F0       CMP    BX,F000
  29. ;With:
  30. ;xxxx:1266 8B1E3005       MOV    BX,[0530]
  31. ;xxxx:126A 21DB           AND    BX,BX
  32. ;xxxx:126C 90             NOP
  33. ;xxxx:126D 90             NOP
  34. MOV BX,[0530]
  35. AND BX,BX
  36. NOP
  37. NOP
  38.  
  39. A1298
  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:1298 2E8B3EB102     MOV    DI,CS:[02B1]
  46. ;xxxx:129D 2EA1B302       MOV    AX,CS:[02B3]
  47. ;xxxx:12A1 8EC0           MOV    ES,AX
  48. ;xxxx:12A3 8B367400       MOV    SI,[0074]
  49. ;With:
  50. ;xxxx:1298 C4367400       LES     SI,[0074]
  51. ;xxxx:129C 8CC3           MOV     BX,ES
  52. ;xxxx:129E 2E             CS:
  53. ;xxxx:129F C43EB102       LES     DI,[02B1]
  54. ;xxxx:12A3 90             NOP
  55. ;xxxx:12A4 90             NOP
  56. ;xxxx:12A5 90             NOP
  57. ;xxxx:12A6 90             NOP
  58. LES SI,[0074]
  59. MOV BX,ES
  60. CS: LES DI,[02B1]
  61. NOP
  62. NOP
  63. NOP
  64. NOP
  65.  
  66. W
  67. Q
  68.