home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
utils
/
fcons1.zip
/
IBMMODE.320
< prev
next >
Wrap
Text File
|
1988-12-29
|
2KB
|
75 lines
A
; This is file: IBMMODE.320
;
; This is a patch file for the IBM-DOS 3.20 MODE command.
;
; DO NOT USE THIS FILE WITH *ANY* OTHER VERSION OF DOS!
;
; To use this file:
; DEBUG MODE.COM <IBMMODE.320
;
; These patches are for programming errors in IBM-DOS 3.20.
; Since it is not our job to make all versions of DOS correct,
; it is up to you yourself or the manufacturer of your version
; of DOS to make similar fixes if your DOS has similar problems.
; We will provide similar patches only for other MS-DOS versions ONLY
; if they come STRAIGHT from Microsoft with ***NO*** modifications!
; IF you have ENOUGH programming background, you may use the comments
; for each patch to find similar code in your NON-IBM NON-Microsoft
; or NON-3.20 version of DOS and make appropriate patches ON YOUR OWN.
A1606
;Patch 0001:
;Recognize no resident MODE when someone else chgs INT 1D.
;Allow MODE command to shift screen.
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:1606 8B1E7600 MOV BX,[0076]
;xxxx:160A 81FB00F0 CMP BX,F000
;With:
;xxxx:1606 8B1E3005 MOV BX,[0530]
;xxxx:160A 21DB AND BX,BX
;xxxx:160C 90 NOP
;xxxx:160D 90 NOP
MOV BX,[0530]
AND BX,BX
NOP
NOP
A162E
;Patch 0002:
;Recognize no resident MODE when someone else chgs INT 1D.
;Allow MODE command to shift screen.
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:162E 8BF8 MOV DI,AX
;xxxx:1630 2EA1CB02 MOV AX,CS:[02CB]
;xxxx:1634 8EC0 MOV ES,AX
;xxxx:1636 8B367400 MOV SI,[0074]
;xxxx:163A 893E7400 MOV [0074],DI
;With:
;xxxx:162E C4367400 LES SI,[0074]
;xxxx:1632 8CC3 MOV BX,ES
;xxxx:1634 2E8E06CB02 MOV ES,CS:[02CB]
;xxxx:1639 A37400 MOV [0074],AX
;xxxx:163C 89C7 MOV DI,AX
LES SI,[0074]
MOV BX,ES
CS: MOV ES,[02CB]
MOV [0074],AX
MOV DI,AX
A164A
;Patch 0003:
;Recognize no resident MODE when someone else chgs INT 1D.
;Allow MODE command to shift screen.
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:164A 50 PUSH AX
;With:
;xxxx:164A 06 PUSH ES
PUSH ES
W
Q