home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / screen / fcon200.arc / IBMMODE.300 < prev    next >
Encoding:
Text File  |  1987-12-14  |  1.4 KB  |  58 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. A1266
  12. ;Patch 0001:
  13. ;Recognize no resident MODE when someone else chgs INT 1D.
  14. ;Allow MODE command to shift screen.
  15. ;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
  16. ;Replace:
  17. ;xxxx:1266 8B1E7600       MOV    BX,[0076]
  18. ;xxxx:126A 81FB00F0       CMP    BX,F000
  19. ;With:
  20. ;xxxx:1266 8B1E3005       MOV    BX,[0530]
  21. ;xxxx:126A 21DB           AND    BX,BX
  22. ;xxxx:126C 90             NOP
  23. ;xxxx:126D 90             NOP
  24. MOV BX,[0530]
  25. AND BX,BX
  26. NOP
  27. NOP
  28.  
  29. A1298
  30. ;Patch 0002:
  31. ;Recognize no resident MODE when someone else chgs INT 1D.
  32. ;Allow MODE command to shift screen.
  33. ;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
  34. ;Replace:
  35. ;xxxx:1298 2E8B3EB102     MOV    DI,CS:[02B1]
  36. ;xxxx:129D 2EA1B302       MOV    AX,CS:[02B3]
  37. ;xxxx:12A1 8EC0           MOV    ES,AX
  38. ;xxxx:12A3 8B367400       MOV    SI,[0074]
  39. ;With:
  40. ;xxxx:1298 C4367400       LES     SI,[0074]
  41. ;xxxx:129C 8CC3           MOV     BX,ES
  42. ;xxxx:129E 2E             CS:
  43. ;xxxx:129F C43EB102       LES     DI,[02B1]
  44. ;xxxx:12A3 90             NOP
  45. ;xxxx:12A4 90             NOP
  46. ;xxxx:12A5 90             NOP
  47. ;xxxx:12A6 90             NOP
  48. LES SI,[0074]
  49. MOV BX,ES
  50. CS: LES DI,[02B1]
  51. NOP
  52. NOP
  53. NOP
  54. NOP
  55.  
  56. W
  57. Q
  58.