home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
FANSI-01.ZIP
/
IBMBIO.330
< prev
next >
Wrap
Text File
|
1988-12-29
|
9KB
|
312 lines
A
; This is file: IBMBIO.330
;
; This is a patch file for the IBM-DOS 3.30 IBMBIO.COM system file.
;
; DO NOT USE THIS FILE WITH *ANY* OTHER VERSION OF DOS!
; DO NOT USE THIS FILE UNLESS YOU EXPERIENCE THE PROBLEMS NOTED!
;
; Before using this file the IBMBIO.COM file must be unhidden.
; After using this file the IBMBIO.COM file must be rehidden.
;
; To use this file:
; DEBUG IBMBIO.COM <IBMBIO.330
;
; If you apply this patch to the IBMBIO.COM file on your fixed disk,
; DOS will move the IBMBIO.COM file to a new place on your fixed disk.
; However, the IBMBIO.COM file must remain in a specific location.
; The solution is to make a bootable DOS diskette first.
; Then apply the patches to the IBMBIO.COM on the diskette.
; DOS will write to the same place on the diskette!
; Finally, boot the diskette and use SYS to install the new
; IBMBIO.COM file onto the fixed disk.
;
; 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.
A1BE8
;Patch 0001:
;Fix INT 19H processing to correctly restore timer and keyboard interrupt
;vectors. (Requires Patches 0002 & 0003 & 0004)
;Make sure interrupts are off while replacing interrupts!
;This affects FANSI-CONSOLE and such programs as:
; QuadRam QM2
;And any other program which attempts an INT 19H to "reboot".
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:1BE8 E91001 JMP 1CFB
;With:
JMP 1C8E
A1BF8
;Patch 0002:
;Fix INT 19H processing to correctly restore timer and keyboard interrupt
;vectors. (Requires Patches 0001 & 0003 & 0004)
;Make sure interrupts are off while replacing interrupts!
;This affects FANSI-CONSOLE and such programs as:
; QuadRam QM2
;And any other program which attempts an INT 19H to "reboot".
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:1BF8 E90001 JMP 1CFB
;With:
JMP 1C8E
A1BFB
;Patch 0003:
;Fix INT 19H processing to correctly restore timer and keyboard interrupt
;vectors. (Requires Patches 0001 & 0002 & 0004)
;Make sure interrupts are off while replacing interrupts!
;This affects FANSI-CONSOLE and such programs as:
; QuadRam QM2
;And any other program which attempts an INT 19H to "reboot".
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:1BFB 33C0 XOR AX,AX
;xxxx:1BFD 8ED8 MOV DS,AX
;xxxx:1BFF 2E CS:
;xxxx:1C00 C43E6B18 LES DI,[186B]
;xxxx:1C04 83FFFF CMP DI,-01
;xxxx:1C07 7408 JZ 1C11
;xxxx:1C09 893E0800 MOV [0008],DI
;xxxx:1C0D 8C060A00 MOV [000A],ES
;xxxx:1C11 2E CS:
;xxxx:1C12 C43E6F18 LES DI,[186F]
;xxxx:1C16 83FFFF CMP DI,-01
;xxxx:1C19 7408 JZ 1C23
;xxxx:1C1B 893E2000 MOV [0020],DI
;xxxx:1C1F 8C062200 MOV [0022],ES
;xxxx:1C23 2E CS:
;xxxx:1C24 C43E7318 LES DI,[1873]
;xxxx:1C28 83FFFF CMP DI,-01
;xxxx:1C2B 7408 JZ 1C35
;xxxx:1C2D 893E2400 MOV [0024],DI
;xxxx:1C31 8C062600 MOV [0026],ES
;xxxx:1C35 2E CS:
;xxxx:1C36 C43E7718 LES DI,[1877]
;xxxx:1C3A 83FFFF CMP DI,-01
;xxxx:1C3D 7408 JZ 1C47
;xxxx:1C3F 893E2800 MOV [0028],DI
;xxxx:1C43 8C062A00 MOV [002A],ES
;xxxx:1C47 2E CS:
;xxxx:1C48 C43E7B18 LES DI,[187B]
;xxxx:1C4C 83FFFF CMP DI,-01
;xxxx:1C4F 7408 JZ 1C59
;xxxx:1C51 893E2C00 MOV [002C],DI
;xxxx:1C55 8C062E00 MOV [002E],ES
;xxxx:1C59 2E CS:
;xxxx:1C5A C43E7F18 LES DI,[187F]
;xxxx:1C5E 83FFFF CMP DI,-01
;xxxx:1C61 7408 JZ 1C6B
;xxxx:1C63 893E3000 MOV [0030],DI
;xxxx:1C67 8C063200 MOV [0032],ES
;xxxx:1C6B 2E CS:
;xxxx:1C6C C43E8318 LES DI,[1883]
;xxxx:1C70 83FFFF CMP DI,-01
;xxxx:1C73 7408 JZ 1C7D
;xxxx:1C75 893E3400 MOV [0034],DI
;xxxx:1C79 8C063600 MOV [0036],ES
;xxxx:1C7D 2E CS:
;xxxx:1C7E C43E8718 LES DI,[1887]
;xxxx:1C82 83FFFF CMP DI,-01
;xxxx:1C85 7408 JZ 1C8F
;xxxx:1C87 893E3800 MOV [0038],DI
;xxxx:1C8B 8C063A00 MOV [003A],ES
;xxxx:1C8F 2E CS:
;xxxx:1C90 C43E8B18 LES DI,[188B]
;xxxx:1C94 83FFFF CMP DI,-01
;xxxx:1C97 7408 JZ 1CA1
;xxxx:1C99 893EC001 MOV [01C0],DI
;xxxx:1C9D 8C06C201 MOV [01C2],ES
;xxxx:1CA1 2E CS:
;xxxx:1CA2 C43E8F18 LES DI,[188F]
;xxxx:1CA6 83FFFF CMP DI,-01
;xxxx:1CA9 7408 JZ 1CB3
;xxxx:1CAB 893EC801 MOV [01C8],DI
;xxxx:1CAF 8C06CA01 MOV [01CA],ES
;xxxx:1CB3 2E CS:
;xxxx:1CB4 C43E9318 LES DI,[1893]
;xxxx:1CB8 83FFFF CMP DI,-01
;xxxx:1CBB 7408 JZ 1CC5
;xxxx:1CBD 893ECC01 MOV [01CC],DI
;xxxx:1CC1 8C06CE01 MOV [01CE],ES
;xxxx:1CC5 2E CS:
;xxxx:1CC6 C43E9718 LES DI,[1897]
;xxxx:1CCA 83FFFF CMP DI,-01
;xxxx:1CCD 7408 JZ 1CD7
;xxxx:1CCF 893ED001 MOV [01D0],DI
;xxxx:1CD3 8C06D201 MOV [01D2],ES
;xxxx:1CD7 2E CS:
;xxxx:1CD8 C43E9B18 LES DI,[189B]
;xxxx:1CDC 83FFFF CMP DI,-01
;xxxx:1CDF 7408 JZ 1CE9
;xxxx:1CE1 893ED801 MOV [01D8],DI
;xxxx:1CE5 8C06DA01 MOV [01DA],ES
;xxxx:1CE9 2E CS:
;xxxx:1CEA C43E9F18 LES DI,[189F]
;xxxx:1CEE 83FFFF CMP DI,-01
;xxxx:1CF1 7408 JZ 1CFB
;xxxx:1CF3 893EDC01 MOV [01DC],DI
;xxxx:1CF7 8C06DE01 MOV [01DE],ES
;xxxx:1CFB 2E CS:
;xxxx:1CFC C43E6618 LES DI,[1866]
;xxxx:1D00 893E6400 MOV [0064],DI
;xxxx:1D04 8C066600 MOV [0066],ES
;xxxx:1D08 CD19 INT 19
;With:
JMP 1C06
LODSW
CMP AX,FFFF
JZ 1C05
STOSW
MOVSW
RET
XOR AX,AX
MOV ES,AX
MOV AX,CS
MOV DS,AX
CLD
CLI
MOV SI,186B
MOV DI,0008
CALL 1BFD
;Was 186F
MOV SI,19BF
MOV DI,0020
CALL 1BFD
;Was 1873
MOV SI,19C3
MOV DI,0024
CALL 1BFD
MOV SI,1877
MOV DI,0028
CALL 1BFD
MOV SI,187B
MOV DI,002C
CALL 1BFD
MOV SI,187F
MOV DI,0030
CALL 1BFD
MOV SI,1883
MOV DI,0034
CALL 1BFD
MOV SI,1887
MOV DI,0038
CALL 1BFD
MOV SI,188B
MOV DI,01C0
CALL 1BFD
MOV SI,188F
MOV DI,01C8
CALL 1BFD
MOV SI,1893
MOV DI,01CC
CALL 1BFD
MOV SI,1897
MOV DI,01D0
CALL 1BFD
MOV SI,189B
MOV DI,01D8
CALL 1BFD
MOV SI,189F
MOV DI,01DC
CALL 1BFD
MOV SI,1866
MOV DI,0064
CALL 1BFD
STI
JMP 1D08
XOR AX,AX
MOV DS,AX
CLD
MOV AX,CS
MOV ES,AX
MOV SI,0020
MOV DI,19BF
MOVSW
MOVSW
MOVSW
MOVSW
RET
F1CAE L8 AA
F1CB6 1D07 90
A2DA8
;Patch 0004:
;Fix INT 19H processing to correctly restore timer and keyboard interrupt
;vectors. (Requires Patches 0001 & 0002 & 0003)
;This affects FANSI-CONSOLE and such programs as:
; QuadRam QM2
;And any other program which attempts an INT 19H to "reboot".
;Patch developed by Hersey Micro Consulting, Inc. (313) 994-3259
;Replace:
;xxxx:2DA8 33C0 XOR AX,AX
;xxxx:2DAA 8ED8 MOV DS,AX
;xxxx:2DAC A14C00 MOV AX,[004C]
;xxxx:2DAF 2E CS:
;xxxx:2DB0 A3B000 MOV [00B0],AX
;xxxx:2DB3 2E CS:
;xxxx:2DB4 A3B400 MOV [00B4],AX
;xxxx:2DB7 A14E00 MOV AX,[004E]
;xxxx:2DBA 2E CS:
;xxxx:2DBB A3B200 MOV [00B2],AX
;xxxx:2DBE 2E CS:
;xxxx:2DBF A3B600 MOV [00B6],AX
;xxxx:2DC2 C7064C007A0F MOV WORD PTR [004C],0F7A
;xxxx:2DC8 8C0E4E00 MOV [004E],CS
;xxxx:2DCC A16400 MOV AX,[0064]
;xxxx:2DCF 2E CS:
;xxxx:2DD0 A36618 MOV [1866],AX
;xxxx:2DD3 A16600 MOV AX,[0066]
;xxxx:2DD6 2E CS:
;xxxx:2DD7 A36818 MOV [1868],AX
;xxxx:2DDA C7066400E018 MOV WORD PTR [0064],18E0
;xxxx:2DE0 8C0E6600 MOV [0066],CS
;xxxx:2DE4 FB STI
;With:
PUSH ES
PUSH DI
PUSH SI
PUSHF
CALL 1C9A
MOV SI,004C
MOV DI,00B0
MOVSW
MOVSW
MOV SI,004C
MOV DI,00B4
MOVSW
MOVSW
MOV SI,0064
MOV DI,1866
MOVSW
MOVSW
MOV AX,DS
MOV ES,AX
MOV DI,004C
MOV AX,0F7A
STOSW
MOV AX,CS
STOSW
MOV DI,0064
MOV AX,18E0
STOSW
MOV AX,CS
STOSW
POPF
POP SI
POP DI
POP ES
NOP
W
Q