home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
utils
/
fcons1.zip
/
IBMMODE.330
< prev
next >
Wrap
Text File
|
1988-12-29
|
2KB
|
75 lines
A
; This is file: IBMMODE.330
;
; This is a patch file for the IBM-DOS 3.30 MODE command.
;
; DO NOT USE THIS FILE WITH *ANY* OTHER VERSION OF DOS!
;
; To use this file:
; DEBUG MODE.COM <IBMMODE.330
;
; These patches are for programming errors in IBM-DOS 3.30.
; 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.30 version of DOS and make appropriate patches ON YOUR OWN.
A3206
;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:3206 8B1E7600 MOV BX,[0076]
;xxxx:320A 81FB00F0 CMP BX,F000
;With:
;xxxx:3206 8B1E3005 MOV BX,[0530]
;xxxx:320A 21DB AND BX,BX
;xxxx:320C 90 NOP
;xxxx:320D 90 NOP
MOV BX,[0530]
AND BX,BX
NOP
NOP
A322E
;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:322E 8BF8 MOV DI,AX
;xxxx:3230 2EA1D402 MOV AX,CS:[02D4]
;xxxx:3234 8EC0 MOV ES,AX
;xxxx:3236 8B367400 MOV SI,[0074]
;xxxx:323A 893E7400 MOV [0074],DI
;With:
;xxxx:322E C4367400 LES SI,[0074]
;xxxx:3232 8CC3 MOV BX,ES
;xxxx:3234 2E8E06D402 MOV ES,CS:[02D4]
;xxxx:3239 A37400 MOV [0074],AX
;xxxx:323C 89C7 MOV DI,AX
LES SI,[0074]
MOV BX,ES
CS: MOV ES,[02D4]
MOV [0074],AX
MOV DI,AX
A324A
;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:324A 50 PUSH AX
;With:
;xxxx:324A 06 PUSH ES
PUSH ES
W
Q